From 569b64fc3c1ef4b9ebb7504b297ccebd06f8942a Mon Sep 17 00:00:00 2001 From: danzel Date: Fri, 20 Jul 2012 16:43:00 +1200 Subject: [PATCH] Trash debug bits --- src/MarkerCluster.js | 7 ------- 1 file changed, 7 deletions(-) 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; },