Get measurement
paulxb opened this issue · comments
Is there a way to get the measurement of a line?
I'd like to display the measurement of a PolyLine in another element but can't see a way to do it.
Figured it out! It was just built in to Leaflet! https://leafletjs.com/reference.html#latlng-distanceto