Interactive interface for browsing global, full-resolution satellite imagery
adjustment to make anim-gif work when zoomed
Benjamin4f872994597c
diff --git a/web/js/animation/wv.anim.gif.js b/web/js/animation/wv.anim.gif.jsindex 3c41b3595..b95027dbd 100644--- a/web/js/animation/wv.anim.gif.js+++ b/web/js/animation/wv.anim.gif.js@@ -74,7 +74,7 @@ wv.anim.gif = wv.anim.gif || function(models, config, ui) {if(isGeographic)res = zoom_res[Math.floor((ui.map.selected.getView().getZoom()/2))];else- res = zoom_res[Math.floor((ui.map.selected.getView().getZoom() + 2 /2))];+ res = zoom_res[Math.floor(((ui.map.selected.getView().getZoom() + 2) / 2))];if(mode === 0)return res;