Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Pass config.layers to LayerList component instead of config

Taylor Gunnoe8956d19977a0
diff --git a/web/js/layers/wv.layers.modal.js b/web/js/layers/wv.layers.modal.js
index a2ea43e47..eb579e766 100644
--- a/web/js/layers/wv.layers.modal.js
+++ b/web/js/layers/wv.layers.modal.js
@@ -607,7 +607,7 @@ wv.layers.modal = wv.layers.modal || function(models, ui, config) {
return layerList({
onClick: function(){},
layerArray: config.layerOrder,
- configFile: config
+ layers: config.layers
});
};
// TODO: Filter layers by settings with projections equal to current projection.