Update changelog and build

This commit is contained in:
danzel
2012-10-19 10:22:58 +13:00
parent 341c607c1b
commit 315c2c8c50
3 changed files with 16 additions and 5 deletions
+12
View File
@@ -3,6 +3,18 @@ Leaflet.markercluster
(all changes without author notice are by [@danzel](https://github.com/danzel))
## Master
### Improvements
* Work better with custom projections (by [@andersarstrand](https://github.com/andersarstrand)) [#74](https://github.com/danzel/Leaflet.markercluster/issues/74)
* Add custom getBounds that works (Reported by [@2803media](https://github.com/2803media))
### Bugfixes
* Fix singleMarkerMode when you aren't on the map (by [@duncanparkes](https://github.com/duncanparkes)) [#77](https://github.com/danzel/Leaflet.markercluster/issues/77)
* Fix clearLayers when you aren't on the map (by [@duncanparkes](https://github.com/duncanparkes)) [#79](https://github.com/danzel/Leaflet.markercluster/issues/79)
## 0.2 (2012-10-11)
### Improvements
+3 -4
View File
@@ -187,12 +187,11 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
clearLayers: function () {
//Need our own special implementation as the LayerGroup one doesn't work for us
//If we aren't on the map yet, just blow away the markers we know of
//If we aren't on the map (yet), blow away the markers we know of
if (!this._map) {
this._needsClustering = [];
this._gridClusters = undefined;
this._gridUnclustered = undefined;
// return this;
delete this._gridClusters;
delete this._gridUnclustered;
}
if (this._unspiderfy) {
+1 -1
View File
File diff suppressed because one or more lines are too long