Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

added extent to map #196

Benjamin7188a59bdca7
diff --git a/web/js/map/wv.map.ui.js b/web/js/map/wv.map.ui.js
index bacf49959..bc827ebe7 100644
--- a/web/js/map/wv.map.ui.js
+++ b/web/js/map/wv.map.ui.js
@@ -542,7 +542,8 @@ wv.map.ui = wv.map.ui || function(models, config, components) {
rotation: proj.id === "geographic" ? 0.0 : models.map.rotation,
zoom: proj.startZoom,
maxZoom: proj.numZoomLevels,
- enableRotation: true
+ enableRotation: true,
+ extent: proj.id === "geographic" ? [-250, -90, 250, 90] : [-180, -90, 180, 90],
}),
target: id,
renderer: ["canvas"],