Leaflet / Leaflet.draw

Vector drawing and editing plugin for Leaflet
https://leaflet.github.io/Leaflet.draw/docs/leaflet-draw-latest.html
MIT License
1.98k stars 994 forks source link

I can't delete the overlay layers in map like circle, rectangle ... etc. only markers is deleted ... #683

Open Abdul-Hameed001 opened 7 years ago

Abdul-Hameed001 commented 7 years ago

How to reproduce

What behaviour I'm expecting and which behaviour I'm seeing

Minimal example reproducing the issue

Using jsfiddle or another example site.

aduv1609 commented 6 years ago

I have a similar issue. If I add some ESRI feature layers for example and one of the esri feature is overlapping on the draw layer, delete doesnot work for polygons etc and works for marker