react-leaflet-draw icon indicating copy to clipboard operation
react-leaflet-draw copied to clipboard

How to modify the path drawn programmatically? (e.g. delete a rectangle)

Open dragGH102 opened this issue 7 years ago • 2 comments

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

dragGH102 avatar Jul 14 '17 16:07 dragGH102

+1 to this. Doesn't seem so simple / straighforward as it could be.

nighto avatar Nov 29 '17 16:11 nighto

FWIW my pull request #36 may give some insight

rotoglup avatar Dec 13 '17 16:12 rotoglup