Skip to content

Conversation

mehmeta
Copy link
Contributor

@mehmeta mehmeta commented Dec 25, 2012

If the fire event gets fired after the _map is set to null, when a polyline is removed from the map while it is in editing state it leaves all its smaller editing markers behind. Calling it before the _map is set to null ensures proper cleanup of the polyline.

mourner added a commit that referenced this pull request Dec 26, 2012
Polyline layer leaves markers behind if removed in editing state
@mourner mourner merged commit a9c12f1 into Leaflet:master Dec 26, 2012
@mourner
Copy link
Member

mourner commented Dec 26, 2012

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants