Open
Description
Hi,
We've been looking into the draw controls for ipyleaflet. One thing we were interested in (cc @mangecoeur ) was controlling the draw controls programmatically, using our own controls (not the builtin toolbar).
It seems this is not possible with the leaflet-draw plugin (bad design?), and the project seems dead:
- Programmatically set drawing mode / external toolbar Leaflet/Leaflet.draw#1065 (no reply)
- 1 year of inactivity, is leaflet.draw dead Leaflet/Leaflet.draw#965 (suggests using geoman)
- Make an offical statement if the Leaflet.Draw is not maintained anymore Leaflet/Leaflet.draw#1041 (suggests using geoman)
Most people suggest using Geoman / https://github.com/geoman-io/leaflet-geoman in the above issues, which seems like a good alternative.
I always hate breaking changes, so I suggest we add Geoman draw controls to ipyleaflet, and keep the current draw controls as they are right now.
Will a PR for this likely be merged for ipyleaflet if we do the work?
cc @iisakkirotko @mariobuikhuizen
Regards,
Maarten