From c5fab2342b5d24bf9eac9f790a3e51a040e496f6 Mon Sep 17 00:00:00 2001 From: danzel Date: Mon, 14 Oct 2013 13:54:38 +1300 Subject: [PATCH] do todo --- src/MarkerClusterGroup.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/MarkerClusterGroup.js b/src/MarkerClusterGroup.js index 1e94f0d8b..91678a7fa 100644 --- a/src/MarkerClusterGroup.js +++ b/src/MarkerClusterGroup.js @@ -287,11 +287,7 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({ } } - //TODO: Can remove this isValid test when leaflet 0.6 is released - var nonPointBounds = this._nonPointGroup.getBounds(); - if (nonPointBounds.isValid()) { - bounds.extend(nonPointBounds); - } + bounds.extend(this._nonPointGroup.getBounds()); return bounds; },