Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Patch to fix broken rotate button. Set currentView on rotate button.

ZachTRicecd9a0c06b312
diff --git a/web/js/map/wv.map.rotate.js b/web/js/map/wv.map.rotate.js
index 4e2eda906..3b021904e 100644
--- a/web/js/map/wv.map.rotate.js
+++ b/web/js/map/wv.map.rotate.js
@@ -236,6 +236,7 @@ wv.map.rotate = wv.map.rotate || function(ui, models, map) {
var currentDeg = (map.getView()
.getRotation() * (180.0 / Math.PI));
+ var currentView = ui.selected.getView();
this.saveRotation(currentDeg, currentView);
map.getView()