Update build

This commit is contained in:
danzel
2012-11-09 15:53:34 +13:00
parent 17f32ab1f8
commit 37d4f369a8
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -290,7 +290,11 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
}
for (var i = 0, l = this._needsClustering.length; i < l; i++) {
this._addLayer(this._needsClustering[i], this._maxZoom);
var layer = this._needsClustering[i];
if (layer.__parent) {
continue;
}
this._addLayer(layer, this._maxZoom);
}
this._needsClustering = [];
+1 -1
View File
File diff suppressed because one or more lines are too long