I didn't see any mention for measure tool in OL 3 API. Is there an alternative / a way to use a measure tool (line & area) with OL 3 ?


Measuring is easily accomplished with an ol.interaction.Draw on the application level. See http://ol3js.org/en/master/examples/measure.html for the official example demonstrating this.


link seems broken here is working link .



The latest example for ol-measurments: https://openlayers.org/en/latest/examples/measure.html

  • 2
    Link-only answers are discouraged here. Please provide a more thorough answer which summarizes the content in the link, or the automated review process may result in deletion of this Answer. – Vince May 20 '19 at 14:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.