Update build

This commit is contained in:
danzel
2013-07-10 11:05:07 +12:00
parent 4ce11f3c8b
commit 15ed12654a
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -448,6 +448,8 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
this._featureGroup.onRemove(map);
this._nonPointGroup.onRemove(map);
this._featureGroup.clearLayers();
this._map = null;
},
@@ -843,6 +845,10 @@ L.MarkerClusterGroup.include(!L.DomUtil.TRANSITION ? {
markers = c._markers,
m;
if (!bounds.contains(startPos)) {
startPos = null;
}
if (c._isSingleParent() && previousZoomLevel + 1 === newZoomLevel) { //Immediately add the new child and remove us
fg.removeLayer(c);
c._recursivelyAddChildrenToMap(null, newZoomLevel, bounds);
+1 -1
View File
File diff suppressed because one or more lines are too long