Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

adjusts to map config #1576

Benjamin8b0627ed833e
diff --git a/web/js/map/wv.map.ui.js b/web/js/map/wv.map.ui.js
index 032d9612d..355fba727 100644
--- a/web/js/map/wv.map.ui.js
+++ b/web/js/map/wv.map.ui.js
@@ -436,6 +436,7 @@ wv.map.ui = wv.map.ui || function(models, config, Rotation) {
projection: ol.proj.get(proj.crs),
extent: proj.maxExtent,
center: proj.startCenter,
+ rotation: proj.id === "geographic" ? 0.0 : models.map.rotation,
zoom: proj.startZoom,
maxZoom: proj.numZoomLevels,
enableRotation: true