Interactive interface for browsing global, full-resolution satellite imagery
added place names and borders to GIF #106
Benjamind5fafe05857a
diff --git a/web/js/animation/wv.anim.gif.js b/web/js/animation/wv.anim.gif.jsindex 6a01c78d4..d394a246a 100644--- a/web/js/animation/wv.anim.gif.js+++ b/web/js/animation/wv.anim.gif.js@@ -143,7 +143,8 @@ wv.anim.gif = wv.anim.gif || function(models, config, ui) {//Map the zoom level from 0-9 / 0-7 to an index from 0-4var zoom_res = [40, 20, 4, 2, 1], str, res;if(isGeographic)- res = zoom_res[Math.floor((ui.map.selected.getView().getZoom()/2))];+ res = zoom_res[Math.floor(ui.map.selected.getView().getZoom() / 2)];+elseres = zoom_res[Math.floor(((ui.map.selected.getView().getZoom() + 2) / 2))];@@ -166,6 +167,7 @@ wv.anim.gif = wv.anim.gif || function(models, config, ui) {default:str = "10km";}+return str;}};@@ -265,6 +267,8 @@ wv.anim.gif = wv.anim.gif || function(models, config, ui) {}if(layer.visible && new Date(layer.startDate) < date) {layers.push(layer);+ } else if(!layer.startDate) {+ layers.push(layer);}});return layers;