You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you remove a MarkerClusterGroup from the map and the call clearLayers on it, nothing gets removed. Looking in the code, it's clearly expecting that if _map doesn't exist, the clusterer will never have been added to a map.
The text was updated successfully, but these errors were encountered:
duncanparkes
pushed a commit
to duncanparkes/Leaflet.markercluster
that referenced
this issue
Oct 17, 2012
When a MarkerClusterGroup has been on a map, but isn't any longer,
we still need to clear out its markers.
(cherry picked from commit 2a90a86)
Conflicts:
dist/leaflet.markercluster.js
If you remove a MarkerClusterGroup from the map and the call clearLayers on it, nothing gets removed. Looking in the code, it's clearly expecting that if _map doesn't exist, the clusterer will never have been added to a map.
The text was updated successfully, but these errors were encountered: