summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-10-07 21:10:19 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-10-07 21:10:19 +0200
commitcc9b7279fdc9db20fe1b480c5cf8384a6b32634d (patch)
treee9703dee2449113116eacb8174c6224f40f9878e
parent38b444f06f911f9fc0f072aa9c59fd4f654a8b4d (diff)
downloadChimère-cc9b7279fdc9db20fe1b480c5cf8384a6b32634d.tar.bz2
Chimère-cc9b7279fdc9db20fe1b480c5cf8384a6b32634d.zip
JS: fix clustering animation
-rw-r--r--chimere/static/chimere/js/jquery.chimere.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/chimere/static/chimere/js/jquery.chimere.js b/chimere/static/chimere/js/jquery.chimere.js
index 63cdb28..894da10 100644
--- a/chimere/static/chimere/js/jquery.chimere.js
+++ b/chimere/static/chimere/js/jquery.chimere.js
@@ -1030,7 +1030,7 @@ function transformCoordToLonLat(coord) {
var v = settings.map.getView();
if (!zoom_level) zoom_level = v.getZoom() + 1;
- methods._set_animation(animation);
+ methods._set_animation(duration);
// center
if ($("#panel").is(":visible")){
var delta_x = $("#panel").width() / 2;