Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Rotation disabled

Mike McGann0f64cfc3daa1
diff --git a/web/js/map/wv.map.ui.js b/web/js/map/wv.map.ui.js
index f82d38bd9..3e2a730e9 100644
--- a/web/js/map/wv.map.ui.js
+++ b/web/js/map/wv.map.ui.js
@@ -329,6 +329,7 @@ wv.map.ui = wv.map.ui || function(models, config) {
center: proj.startCenter,
zoom: proj.startZoom,
maxZoom: proj.numZoomLevels,
+ enableRotation: false
}),
target: id,
renderer: ["canvas", "dom"],
@@ -337,6 +338,13 @@ wv.map.ui = wv.map.ui || function(models, config) {
scaleMetric,
scaleImperial,
mousePosition
+ ],
+ interactions: [
+ new ol.interaction.DoubleClickZoom(),
+ new ol.interaction.DragPan(),
+ new ol.interaction.PinchZoom(),
+ new ol.interaction.MouseWheelZoom(),
+ new ol.interaction.DragZoom()
]
});
createZoomButtons(map, proj);