Open ghost opened 8 years ago
This does look like leaflet draw. I tested adding a marker and binding a popup on dblclick with just Leaflet v1.0 and it works fine. See this jsfiddle for example: https://jsfiddle.net/DeanoFino/dkrkb6L6/
Try using the Leaflet.draw in the leaflet-master
branch. Leaflet.draw v0.3.2 only supports Leaflet 0.7.x.
Also see: https://github.com/Leaflet/Leaflet.draw/issues/601
This same issue exists in Leaflet.draw master branch with Leaflet v1.0.
@DeanoFino - 0.4.0 was released for L1.0 support. Please check if this is still an issue?
Adding as a bug in case this is still a problem.
This is still an issue and not fixed. Is there any work around?
Not sure if this is an issue in Leaflet Draw or with Leaflet itself. When adding a marker to a layer with Leaflet Draw v0.3.2 and Leaflet v1.0 there is an error with the marker's click event not opening a popup. The popup opens if .openPopup() is called. I've also tested this with Leaflet Draw master.
See this jsfiddle for illustration of the issue: https://jsfiddle.net/DeanoFino/mvk00sz3/