alex3165 / react-leaflet-draw

React component for leaflet-draw on top of react-leaflet
228 stars 152 forks source link

useRef on Editcontrol - custom button to start drawing #153

Open tomcosk opened 2 years ago

tomcosk commented 2 years ago

Is it somehow possible to use ref for editcontrol? I want to create custom button for drawing. Or is there any option how to change tooltips to another language?

thefat32 commented 2 years ago

Refer to leaflet-draw package repo. This is only a wrapper over it

GrzegorzNecka commented 1 year ago

i have, the same problem like @tomcosk , @thefat32 could you past simple code, how to refer to leaflet-draw in react with use react-leaflet-draw