Interactive interface for browsing global, full-resolution satellite imagery
Repeating rotation on mobile can be stopped
Edmond Leecdc801244592
diff --git a/web/js/map/wv.map.ui.js b/web/js/map/wv.map.ui.jsindex 8676b7a51..fa08c236b 100644--- a/web/js/map/wv.map.ui.js+++ b/web/js/map/wv.map.ui.js@@ -691,6 +691,7 @@ wv.map.ui = wv.map.ui || function(models, config) {$mid.button({label: Number(models.map.rotation * (180/Math.PI)).toFixed()}).mousedown(function() { //reset rotation+ clearInterval(intervalId); //stop repeating rotation on mobilemap.beforeRender(ol.animation.rotate({duration: 500,rotation: map.getView().getRotation()