5
Views
1
Comments
[LeafletJS - Reactive] How to add draw toolbar on map
Forge component by Vincent Koning
5
Published on 22 Jun 2020
Application Type
Reactive

Hello,
I need to add draw tool bar on the map with all the options like polylines, polygons, circles and markers, etc.
And need to get the geojson points when the user is done with all the drawing.
How do we do it with this component?
I did not see any enable draw flag on the component.
Please let me know if I am missing anything.

Thanks,
Anagha

Champion
Rank: #87

Ha Anagha,

Leaflet.Draw is currently not part of this component. It is on the task board but I have not been able to work on it yet. If you like you can add it yourself if you like to: GitHub - Leaflet/Leaflet.draw: Vector drawing and editing plugin for Leaflet 

Greetings,

Vincent