Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

apply selected vector style to compare points #2431

Benjamin Kingce5c1c21c763
diff --git a/web/js/modules/vector-styles/selectors.js b/web/js/modules/vector-styles/selectors.js
index 80c8b10e3..f84e4ae18 100644
--- a/web/js/modules/vector-styles/selectors.js
+++ b/web/js/modules/vector-styles/selectors.js
@@ -101,10 +101,6 @@ export function setStyleFunction(def, vectorStyleId, vectorStyles, layer, state)
}
}
lodashEach(activeLayers, function(def) {
- if (!['subdaily', 'daily', 'monthly', 'yearly'].includes(def.period)) {
- return;
- }
-
if (state.compare && state.compare.active) {
if (layerGroup && layerGroup.getLayers().getArray().length) {
lodashEach(layerGroup.getLayers().getArray(), subLayer => {
@@ -195,7 +191,6 @@ export function clearStyleFunction(def, vectorStyleId, vectorStyles, layer, stat
}
});
}
-
styleFunction = stylefunction(layer, glStyle, vectorStyleId);
if (glStyle.name === 'Orbit Tracks') {
// Filter time by 5 mins