Answer the question
In order to leave comments, you need to log in
How to draw a line in Leaflet with a length in meters?
How to draw lines on a map in Leaflet not in pixels or coordinates (latitude/longitude) but in meters? I did not find anything in the docks for such a conversion.
Of the figures, only for the circle (L.circle) the radius is specified in meters.
Answer the question
In order to leave comments, you need to log in
Perhaps you should convert meters to degrees and draw a line in degrees?
You can see leaflet draw. Supports custom settings bl.ocks.org/d3noob/7730264
Plugin itself https://github.com/Leaflet/Leaflet.draw
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question