diff --git a/src/MarkerClusterGroup.js b/src/MarkerClusterGroup.js index cc5a1b894..ac3f51d58 100644 --- a/src/MarkerClusterGroup.js +++ b/src/MarkerClusterGroup.js @@ -443,6 +443,8 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({ this._featureGroup.onRemove(map); this._nonPointGroup.onRemove(map); + this._featureGroup.clearLayers(); + this._map = null; },