summaryrefslogtreecommitdiff
path: root/chimere
diff options
context:
space:
mode:
Diffstat (limited to 'chimere')
-rw-r--r--chimere/static/chimere/js/jquery.chimere.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/chimere/static/chimere/js/jquery.chimere.js b/chimere/static/chimere/js/jquery.chimere.js
index d4b7e28..223425e 100644
--- a/chimere/static/chimere/js/jquery.chimere.js
+++ b/chimere/static/chimere/js/jquery.chimere.js
@@ -1200,7 +1200,7 @@ function transformCoordToLonLat(coord) {
var v = settings[map_id].map.getView();
if (!zoom_level) zoom_level = v.getZoom() + 1;
- methods._set_animation(duration);
+ methods._set_animation(map_id, duration);
// center
if ($("#panel").is(":visible")){
var delta_x = $("#panel").width() / 2;
@@ -1440,7 +1440,7 @@ function transformCoordToLonLat(coord) {
if (zoom_level >= settings[map_id].maxZoom){
return;
}
- methods._set_animation();
+ methods._set_animation(map_id);
v.setZoom(zoom_level);
},
@@ -1468,7 +1468,7 @@ function transformCoordToLonLat(coord) {
if (zoom_level <= settings[map_id].minZoom){
return;
}
- methods._set_animation();
+ methods._set_animation(map_id);
v.setZoom(zoom_level);
},
@@ -2768,7 +2768,7 @@ function transformCoordToLonLat(coord) {
}
if (data.message) methods.displayMessage(data.message);
var v = settings[map_id].map.getView();
- methods._set_animation();
+ methods._set_animation(map_id);
options = {};
if ($("#panel").is(":visible")){
options = {"padding": [0, 0, 0, $("#panel").width()]};