diff --git a/src/MarkerCluster.js b/src/MarkerCluster.js index c98715bbf..5b879058b 100644 --- a/src/MarkerCluster.js +++ b/src/MarkerCluster.js @@ -388,9 +388,6 @@ L.MarkerCluster = L.Marker.extend({ clusters = res.clusters, i; - var oldMarkers = this._markers; - var old = this._childCount; - this._markers = []; this._childCount = 0; @@ -401,10 +398,6 @@ L.MarkerCluster = L.Marker.extend({ this._addChild(clusters[i]); } - if (this._childCount != old) { - debugger; - } - delete this._zoomForCluster; this._haveGeneratedChildClusters = true; },