[Pkg-javascript-commits] [leaflet-markercluster] 203/479: Fix up #53, #54
Jonas Smedegaard
dr at jones.dk
Thu Oct 16 16:00:30 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository leaflet-markercluster.
commit fc881ba76947ffc02e11e7176b55c31a9beb2808
Author: danzel <danzel at localhost.geek.nz>
Date: Thu Sep 6 15:32:47 2012 +1200
Fix up #53, #54
---
src/MarkerCluster.Spiderfier.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/MarkerCluster.Spiderfier.js b/src/MarkerCluster.Spiderfier.js
index f3961dd..5a69f8c 100644
--- a/src/MarkerCluster.Spiderfier.js
+++ b/src/MarkerCluster.Spiderfier.js
@@ -321,6 +321,8 @@ L.MarkerClusterGroup.include({
this._map.off('click', this._unspiderfyWrapper, this);
this._map.off('zoomstart', this._unspiderfyZoomStart, this);
this._map.off('zoomanim', this._unspiderfyZoomAnim, this);
+
+ this._unspiderfy(); //Ensure that markers are back where they should be
},
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/leaflet-markercluster.git
More information about the Pkg-javascript-commits
mailing list