diff --git a/app/src/components/map/LayerSwipe.vue b/app/src/components/map/LayerSwipe.vue index de4b625f7b..7d52fe3ee1 100644 --- a/app/src/components/map/LayerSwipe.vue +++ b/app/src/components/map/LayerSwipe.vue @@ -107,16 +107,7 @@ export default { const dataGroup = map.getLayers().getArray().find((l) => l.get('id') === 'dataGroup'); this.mergedConfigsData.forEach((config) => { const swipeLayer = dataGroup.getLayers().getArray().find((l) => l.get('name') === `${config.name}_compare`); - if (config.protocol === 'geoserverTileLayer' && swipeLayer) { - loadIndicatorExternalData( - time, config, - ).then((data) => { - this.$store.state.indicators.selectedIndicator.compareMapData = data; - swipeLayer.changed(); - }); - } else if (swipeLayer) { - swipeLayer.changed(); - } + swipeLayer.changed(); }); }, time(time) { diff --git a/app/src/components/map/VectorTileStyleControl.vue b/app/src/components/map/VectorTileStyleControl.vue index 25ba656675..bc28c0025c 100644 --- a/app/src/components/map/VectorTileStyleControl.vue +++ b/app/src/components/map/VectorTileStyleControl.vue @@ -1,7 +1,7 @@