Open forgotten-map opened 1 year ago
I have a use case where I need to be able to delete layers, but not edit them. It would be nice to have a way to specify the options so that only the delete tool is shown, without the edit button.
actually I can achieve that with css
.leaflet-draw-edit-edit{ display: none; }
It would still be nice to be able to specify that in the control options, but at least there's a way.
I have a use case where I need to be able to delete layers, but not edit them. It would be nice to have a way to specify the options so that only the delete tool is shown, without the edit button.