Leaflet / Leaflet.draw

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

Edit Mode for new markers not working. #673

Open luismi2 opened 7 years ago

luismi2 commented 7 years ago

How to reproduce

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

The expected behaviour is I could edit the geometry, but an error happens.

TypeError: e is null https://unpkg.com/leaflet@1.0.2/dist/leaflet.js Line 6

I can do it with with lines, but not with markers. See the fiddle linked to see the error in action.

Minimal example reproducing the issue

Using jsfiddle . Fiddle Updated. I hope is working now.

ddproxy commented 7 years ago

The JS Fiddle is broken, I'll update the JS Fiddle base-template to use the newer version (0.4.9) and see if this issue persists.

luismi2 commented 7 years ago

I have updated the fiddle. I hope is working now. The issue comes when I try to edit a marker created in the same session.

tweitemier commented 6 years ago

@ddproxy is there any update on this issue or perhaps a workaround we could try?