Update build and changelog

This commit is contained in:
danzel
2012-12-06 13:42:41 +13:00
parent e86afca04a
commit d324fdc4b4
3 changed files with 7 additions and 2 deletions
+1
View File
@@ -18,6 +18,7 @@ Leaflet.markercluster
* Fix clearLayers when you aren't on the map (by [@duncanparkes](https://github.com/duncanparkes)) [#79](https://github.com/danzel/Leaflet.markercluster/issues/79)
* IE10 Bug fix (Reported by [@theLundquist](https://github.com/theLundquist)) [#86](https://github.com/danzel/Leaflet.markercluster/issues/86)
* Fixes for hasLayer after removing a layer (Reported by [@cvisto](https://github.com/cvisto)) [#44](https://github.com/danzel/Leaflet.markercluster/issues/44)
* Fix clearLayers not unsetting __parent of the markers, preventing them from being re-added. (Reported by [@apuntovanini](https://github.com/apuntovanini)) [#99](https://github.com/danzel/Leaflet.markercluster/issues/99)
## 0.2 (2012-10-11)
+5 -1
View File
@@ -216,6 +216,10 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
}
}
this.eachLayer(function (marker) {
delete marker.__parent;
});
if (this._map) {
//Reset _topClusterLevel and the DistanceGrids
this._generateInitialClusters();
@@ -237,7 +241,7 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
return bounds;
},
//Don't override LayerGroup.eachLayer, but provide the same functionality for external users
//Overrides LayerGroup.eachLayer
eachLayer: function (method, context) {
var markers = this._needsClustering.slice(),
i;
+1 -1
View File
File diff suppressed because one or more lines are too long