Interactive interface for browsing global, full-resolution satellite imagery
WV-2111
Jason Kent59a761b352b9
diff --git a/web/js/modules/map/util.js b/web/js/modules/map/util.jsindex ec6b56b05..5786a2f4c 100644--- a/web/js/modules/map/util.js+++ b/web/js/modules/map/util.js@@ -284,10 +284,9 @@ export async function promiseImageryForTime(state, date, activeString) {const {cache, selected, createLayer, layerKey,} = map.ui;- const options = { date, group: activeString };const layers = getActiveVisibleLayersAtDate(state, date, activeString);-await Promise.all(layers.map((layer) => {+ const options = { date, group: activeString };const key = layerKey(layer, options, state);const layerGroup = cache.getItem(key) || createLayer(layer, options);return promiseLayerGroup(layerGroup, selected);