Mercurial > gemma
comparison client/src/components/TimeSlider.vue @ 5083:5ec30f63fd58 time-sliding
client: reload only the relevant layers with changed value on time-slider
author | Fadi Abbud <fadi.abbud@intevation.de> |
---|---|
date | Wed, 18 Mar 2020 17:35:35 +0100 |
parents | c4ebb6ccc588 |
children | 2c3108152497 |
comparison
equal
deleted
inserted
replaced
5082:c4ebb6ccc588 | 5083:5ec30f63fd58 |
---|---|
193 close() { | 193 close() { |
194 this.$store.commit("application/showTimeSlider", false); | 194 this.$store.commit("application/showTimeSlider", false); |
195 }, | 195 }, |
196 refreshLayers() { | 196 refreshLayers() { |
197 this.$store.commit("map/startTimeSlide"); | 197 this.$store.commit("map/startTimeSlide"); |
198 this.$store.dispatch("map/refreshLayers"); | 198 this.$store.dispatch("map/refreshTimebasedLayers"); |
199 this.$nextTick(() => { | 199 this.$nextTick(() => { |
200 this.$store.commit("map/finishTimeSlide"); | 200 this.$store.commit("map/finishTimeSlide"); |
201 }); | 201 }); |
202 }, | 202 }, |
203 triggerMapReload() { | 203 triggerMapReload() { |