changeset 4103:ed66522a15a5 timezone

Merged default into timezone branch.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 26 Jul 2019 14:59:48 +0200
parents cc3d607b49cc (current diff) 7afe411eeb48 (diff)
children aececbc3d047
files
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/importoverview/BottleneckDetail.vue	Fri Jul 26 10:50:22 2019 +0200
+++ b/client/src/components/importoverview/BottleneckDetail.vue	Fri Jul 26 14:59:48 2019 +0200
@@ -98,12 +98,22 @@
   },
   mounted() {
     this.loadBottlenecks();
+    this.reloadBottleneckLayer();
   },
   computed: {
+    ...mapState("map", ["openLayersMaps"]),
     ...mapState("imports", ["showLogs", "details"]),
     ...mapGetters("map", ["openLayersMap"])
   },
   methods: {
+    reloadBottleneckLayer() {
+      this.openLayersMaps.forEach(map => {
+        map
+          .getLayer("BOTTLENECKISOLINE")
+          .getSource()
+          .refresh();
+      });
+    },
     loadBottlenecks() {
       const generateFilter = () => {
         const { bottlenecks } = this.details.summary;