Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

constrain only the center of the map

ZachTRiceee2090333710
diff --git a/web/js/map/ui.js b/web/js/map/ui.js
index 731753794..565945d07 100644
--- a/web/js/map/ui.js
+++ b/web/js/map/ui.js
@@ -836,7 +836,8 @@ export function mapui(models, config, store, ui) {
zoom: proj.startZoom,
maxZoom: proj.numZoomLevels,
enableRotation: true,
- extent: proj.id === 'geographic' ? [-250, -90, 250, 90] : proj.maxExtent
+ extent: proj.id === 'geographic' ? [-250, -90, 250, 90] : proj.maxExtent,
+ constrainOnlyCenter: true
}),
target: id,
renderer: ['canvas'],