alex3165 / react-leaflet-draw

React component for leaflet-draw on top of react-leaflet
225 stars 151 forks source link

Custom toolbar #43

Open sruthisripathi opened 6 years ago

sruthisripathi commented 6 years ago

Hi, I see that using leaflet-draw a toolbar is created on map, using which we can draw on the map. I want to create a customer toolbar outside the map and be able to use it to draw on the map. Is there a way to do that?

dbyilmaz commented 5 years ago

Hi @sruthisripathi, did you create your custom toolbar?

rgautier2003 commented 5 years ago

Any update to this? I am looking to do the same. Thank you

hoetmaaiers commented 5 years ago

Also interested in shared ideas on doing this. Anyone?

andrewdodd commented 5 years ago

I think doing this is pretty hard with any React library, as Leaflet and leaflet.draw don't really play that nicely with React.

rodri595 commented 4 years ago

it wont work, but i manage to create a modal with buttons that changes state for the drawingOptions of editcontrol "react-leaflet-draw"