[Pkg-javascript-commits] [leaflet-markercluster] 466/479: Slow the animation down, looks better :)
Jonas Smedegaard
dr at jones.dk
Thu Oct 16 16:01:08 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 7e31b27f68792a99e2df8ab740569fec84b13be7
Author: danzel <danzel at localhost.geek.nz>
Date: Thu Dec 19 15:38:50 2013 +1300
Slow the animation down, looks better :)
---
dist/MarkerCluster.css | 8 ++++----
src/MarkerClusterGroup.js | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dist/MarkerCluster.css b/dist/MarkerCluster.css
index dbfab7d..00b0edd 100644
--- a/dist/MarkerCluster.css
+++ b/dist/MarkerCluster.css
@@ -1,6 +1,6 @@
.leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow {
- -webkit-transition: -webkit-transform 0.2s ease-out, opacity 0.2s ease-in;
- -moz-transition: -moz-transform 0.2s ease-out, opacity 0.2s ease-in;
- -o-transition: -o-transform 0.2s ease-out, opacity 0.2s ease-in;
- transition: transform 0.2s ease-out, opacity 0.2s ease-in;
+ -webkit-transition: -webkit-transform 0.3s ease-out, opacity 0.3s ease-in;
+ -moz-transition: -moz-transform 0.3s ease-out, opacity 0.3s ease-in;
+ -o-transition: -o-transform 0.3s ease-out, opacity 0.3s ease-in;
+ transition: transform 0.3s ease-out, opacity 0.3s ease-in;
}
diff --git a/src/MarkerClusterGroup.js b/src/MarkerClusterGroup.js
index 87b9041..8d3502a 100644
--- a/src/MarkerClusterGroup.js
+++ b/src/MarkerClusterGroup.js
@@ -792,7 +792,7 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
_enqueue: function (fn) {
this._queue.push(fn);
if (!this._queueTimeout) {
- this._queueTimeout = setTimeout(L.bind(this._processQueue, this), 200);
+ this._queueTimeout = setTimeout(L.bind(this._processQueue, this), 300);
}
},
_processQueue: function () {
--
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