Closed
Description
openedon Aug 7, 2013
In this bit of code: https://github.com/Leaflet/Leaflet.draw/blob/master/src/edit/handler/EditToolbar.Edit.js#L135-L153 Leaflet.draw makes the assumption that the L.Marker layers in the map will always have a _icon
private member. This assumption is broken in some cases, including (I think) when markers are offscreen or added to the map without an icon specified. In this case, a TypeError is thrown and not caught.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels