makinacorpus / Leaflet.MeasureControl

Leaflet control to mesure distances on the map
https://makinacorpus.github.io/Leaflet.MeasureControl
BSD 3-Clause "New" or "Revised" License
82 stars 48 forks source link

Add support for displaying distance of segments #19

Open mindmind opened 7 years ago

mindmind commented 7 years ago

To activate the mode: L.Control.measureControl({segmentsDistance:true}).addTo(map)

mindmind commented 7 years ago

Added prevention of going beyond lefleat's borders for tooltip