Example of OpenLayers to measure and draw features
View on GitHub
vertices, draw, measure, drawing, modify, delete
Example of DynamicMeasure control for measure and draw vector features.
none
draw line
draw polygon
View the
measure-and-draw.js
source to see how this is done.