react-leaflet-draw
react-leaflet-draw copied to clipboard
How to modify the path drawn programmatically? (e.g. delete a rectangle)
As the title says.
I found an example here ( https://stackoverflow.com/questions/15406020/delete-rectangle-on-click-using-leaflet-draw ) but it's not exactly what I look for and it used Leaflet-draw per-se which is not very clear how to access from react-leaflet-draw.
Thanks in advance
+1 to this. Doesn't seem so simple / straighforward as it could be.
FWIW my pull request #36 may give some insight