diff --git a/src/MarkerClusterGroup.js b/src/MarkerClusterGroup.js index cf4434b65..31ff22729 100644 --- a/src/MarkerClusterGroup.js +++ b/src/MarkerClusterGroup.js @@ -120,6 +120,9 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({ L.FeatureGroup.prototype.removeLayer.call(this, layer); layer.setOpacity(1); } + + delete layer.__parent; + return this; },