diff --git a/dist/leaflet.markercluster-src.js b/dist/leaflet.markercluster-src.js index f290445e7..948bd0854 100644 --- a/dist/leaflet.markercluster-src.js +++ b/dist/leaflet.markercluster-src.js @@ -660,7 +660,7 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({ return; } - + //Didn't manage to cluster in at this zoom, record us as a marker here and continue upwards gridUnclustered[zoom].addObject(layer, markerPoint); } @@ -688,7 +688,7 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({ this._moveEnd(); } }, - + //Gets the maps visible bounds expanded in each direction by the size of the screen (so the user cannot see an area we do not cover in one pan) _getExpandedVisibleBounds: function () { if (!this.options.removeOutsideVisibleBounds) { @@ -1031,7 +1031,7 @@ L.MarkerCluster = L.Marker.extend({ } L.FeatureGroup.prototype.addLayer.call(this._group, this); }, - + _recursivelyAnimateChildrenIn: function (bounds, center, maxZoom) { this._recursively(bounds, 0, maxZoom - 1, function (c) { @@ -1729,7 +1729,7 @@ L.MarkerCluster.include(!L.DomUtil.TRANSITION ? { m, i, a; group._animationStart(); - + //Make us visible and bring the child markers back in this.setOpacity(1); for (i = childMarkers.length - 1; i >= 0; i--) { @@ -1879,4 +1879,5 @@ L.MarkerClusterGroup.include({ + }(this)); \ No newline at end of file diff --git a/src/MarkerCluster.Spiderfier.js b/src/MarkerCluster.Spiderfier.js index d2e883c95..83f118b71 100644 --- a/src/MarkerCluster.Spiderfier.js +++ b/src/MarkerCluster.Spiderfier.js @@ -243,7 +243,7 @@ L.MarkerCluster.include(!L.DomUtil.TRANSITION ? { m, i, a; group._animationStart(); - + //Make us visible and bring the child markers back in this.setOpacity(1); for (i = childMarkers.length - 1; i >= 0; i--) { @@ -389,4 +389,4 @@ L.MarkerClusterGroup.include({ delete layer._spiderLeg; } } -}); \ No newline at end of file +}); diff --git a/src/MarkerCluster.js b/src/MarkerCluster.js index b83bf818b..248790170 100644 --- a/src/MarkerCluster.js +++ b/src/MarkerCluster.js @@ -129,7 +129,7 @@ L.MarkerCluster = L.Marker.extend({ } L.FeatureGroup.prototype.addLayer.call(this._group, this); }, - + _recursivelyAnimateChildrenIn: function (bounds, center, maxZoom) { this._recursively(bounds, 0, maxZoom - 1, function (c) { diff --git a/src/MarkerClusterGroup.js b/src/MarkerClusterGroup.js index 68c1f46fc..c6d6247ad 100644 --- a/src/MarkerClusterGroup.js +++ b/src/MarkerClusterGroup.js @@ -653,7 +653,7 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({ return; } - + //Didn't manage to cluster in at this zoom, record us as a marker here and continue upwards gridUnclustered[zoom].addObject(layer, markerPoint); } @@ -681,7 +681,7 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({ this._moveEnd(); } }, - + //Gets the maps visible bounds expanded in each direction by the size of the screen (so the user cannot see an area we do not cover in one pan) _getExpandedVisibleBounds: function () { if (!this.options.removeOutsideVisibleBounds) {