Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

specify projection on updateLayers

Ed Plato84bed3416e64
diff --git a/web/js/sidebar/ui.js b/web/js/sidebar/ui.js
index 23e18774d..67968f236 100644
--- a/web/js/sidebar/ui.js
+++ b/web/js/sidebar/ui.js
@@ -221,7 +221,7 @@ export function sidebarUi(models, config, ui) {
} else {
self.reactComponent.setState({
layers: models.layers.get(
- { group: 'all', proj: 'all' },
+ { group: 'all', proj: models.proj.selected.id },
models.layers[models.layers.activeLayers]
),
zotsObject: getZotsForActiveLayers(config, models, ui)