[Pkg-javascript-commits] [leaflet-markercluster] 64/219: Fire unspiderfied event
Jonas Smedegaard
dr at jones.dk
Sat May 7 09:39:12 UTC 2016
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository leaflet-markercluster.
commit 53997cd3e46c61692ae91d14339da3173960079c
Author: Billy Newman <newmanw10 at gmail.com>
Date: Mon Mar 2 08:07:30 2015 -0700
Fire unspiderfied event
When animating unspiderfy there is a timeout. Fire event when done to let users know unspiderfy is complete.
---
src/MarkerCluster.Spiderfier.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/MarkerCluster.Spiderfier.js b/src/MarkerCluster.Spiderfier.js
index ead03b4..ce02a15 100644
--- a/src/MarkerCluster.Spiderfier.js
+++ b/src/MarkerCluster.Spiderfier.js
@@ -111,7 +111,8 @@ L.MarkerCluster.include({
delete m._spiderLeg;
}
}
-
+
+ group.fire('unspiderfied');
group._spiderfied = null;
}
});
@@ -341,6 +342,7 @@ L.MarkerCluster.include(!L.DomUtil.TRANSITION ? {
delete m._spiderLeg;
}
group._animationEnd();
+ group.fire('unspiderfied');
}, 200);
}
});
--
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