Mercurial > gemma
diff client/src/components/Bottlenecks.vue @ 3054:1ef2f4179d30
client: map store: merged/renamed method(s)
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Tue, 16 Apr 2019 09:00:42 +0200 |
parents | c71373594719 |
children | 77fc44ad05e3 |
line wrap: on
line diff
--- a/client/src/components/Bottlenecks.vue Tue Apr 16 08:42:09 2019 +0200 +++ b/client/src/components/Bottlenecks.vue Tue Apr 16 09:00:42 2019 +0200 @@ -146,7 +146,7 @@ this.$store.commit("bottlenecks/selectedSurvey", survey); }) .then(() => { - this.$store.dispatch("map/moveToExtent", { + this.$store.dispatch("map/moveToFeauture", { feature: bottleneck, zoom: 17, preventZoomOut: true @@ -163,7 +163,7 @@ this.$store.commit("bottlenecks/setFirstSurveySelected"); }) .then(() => { - this.$store.dispatch("map/moveToExtent", { + this.$store.dispatch("map/moveToFeauture", { feature: bottleneck, zoom: 17, preventZoomOut: true