Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

added mobile rotation event listener

Benjamin5738b1707400
diff --git a/web/js/map/wv.map.ui.js b/web/js/map/wv.map.ui.js
index 86ad3e552..a8255bd4a 100644
--- a/web/js/map/wv.map.ui.js
+++ b/web/js/map/wv.map.ui.js
@@ -821,6 +821,7 @@ wv.map.ui = wv.map.ui || function(models, config, Rotation, DataRunner) {
map.getView().on("change:center", updateExtent);
map.getView().on("change:resolution", updateExtent);
map.getView().on("change:rotation", rotation.updateRotation);
+ mobileRotation.on('change', rotation.updateRotation);
map.on('pointerdrag', function() {
mapIsbeingDragged = true;
});