Interactive interface for browsing global, full-resolution satellite imagery
enabled running data
Benjamine93818f9d911
diff --git a/web/js/map/wv.map.ui.js b/web/js/map/wv.map.ui.jsindex c54bb0ea0..e7cbcd8fc 100644--- a/web/js/map/wv.map.ui.js+++ b/web/js/map/wv.map.ui.js@@ -21,7 +21,7 @@ wv.map.ui = wv.map.ui || function(models, config, Rotation, DataRunner) {var animationDuration = 250;var self = {};var rotation = new Rotation(self, models);- //var dataRunner = new DataRunner(models);+ var dataRunner = new DataRunner(models);self.mapIsbeingDragged = false;var hiDPI = ol.has.DEVICE_PIXEL_RATIO > 1;var pixelRatio = hiDPI ? 2 : 1;@@ -1038,7 +1038,7 @@ wv.map.ui = wv.map.ui || function(models, config, Rotation, DataRunner) {return; // don't get running data if map is animating}}- //dataRunner.newPoint(pixelValue, map);+ dataRunner.newPoint(pixelValue, map);}$(map.getViewport()).mouseover(function(e){@@ -1049,7 +1049,7 @@ wv.map.ui = wv.map.ui || function(models, config, Rotation, DataRunner) {if($(e.relatedTarget).hasClass('map-coord')) return;$('#' + mapId).hide();hoverThrottle.cancel();- //dataRunner.clearAll();+ dataRunner.clearAll();}).mousemove(hoverThrottle = _.throttle(onMouseMove, 300));};