Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

WV 3056 Don't query static layers on time change (#5118)

Patrick Moulden1dac6d1c60cc
diff --git a/web/js/mapUI/components/update-collections/updateCollections.js b/web/js/mapUI/components/update-collections/updateCollections.js
index 8966ac268..684dc55dd 100644
--- a/web/js/mapUI/components/update-collections/updateCollections.js
+++ b/web/js/mapUI/components/update-collections/updateCollections.js
@@ -25,6 +25,7 @@ function UpdateCollections () {
};
const getHeaders = async (def, date) => {
+ if (def.layergroup === 'Reference') return; // Don't query static layers
const { id, period } = def;
const { matrixSet } = def.projections[proj.id];
const isoStringDate = util.toISOStringSeconds(util.roundTimeOneMinute(selectedDate));