geoman-io / leaflet-geoman

🍂🗺️ The most powerful leaflet plugin for drawing and editing geometry layers
https://geoman.io
MIT License
2.21k stars 433 forks source link

show radius option #188

Closed tecnocoma closed 7 years ago

tecnocoma commented 7 years ago

It would be very useful to set an option for showing a tooltip with realtime radius measure (in km) while drawing circle, not only on creating but also on editing. Leaflet.draw does something similar (see http://jsfiddle.net/88bdrzkr/13/ ) but only on creating...and your plugin is much better. But lacks of this useful functionality...that others people on the web asked without answer (for Leaflet). Do you think it would be possible to add it? Thanx a lot for your effort anyway.

codeofsumit commented 7 years ago

@tecnocoma users of leaflet.pm used this plugin in addition to leaflet.pm in the past https://github.com/ProminentEdge/leaflet-measure-path

I have to implement the same functionality at car2go pretty soon. If the leaflet-measure-path and leaflet.pm combo is not sufficient, I'll add it here as an option.

I'll keep you posted about that and please, try leaflet-measure-path in the meantime and let me know if it works for you

codeofsumit commented 7 years ago

@tecnocoma have you tried using leaflet-measure-path?

codeofsumit commented 7 years ago

@tecnocoma I'll close this for inactivity. Please reopen if you have tried leaflet-measure-path or if other users would like to see this added to leaflet.pm instead.

codeofsumit commented 4 years ago

Hi all,

This is now implemented in leaflet-geoman-pro. We hope to make it available in the OSS version as well sometime in the future.

https://geoman.io/leaflet-geoman-pro