Mercurial > gemma
changeset 3151:47453337c698
client: gauges: set zoom level after selecting a gauge
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Fri, 03 May 2019 13:36:31 +0200 |
parents | 38d9edce3331 |
children | 8e31e5b9b37a |
files | client/src/components/gauge/Gauges.vue client/src/store/map.js |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/components/gauge/Gauges.vue Fri May 03 13:19:54 2019 +0200 +++ b/client/src/components/gauge/Gauges.vue Fri May 03 13:36:31 2019 +0200 @@ -170,7 +170,7 @@ let coordinates = this.selectedGauge.geometry.coordinates; this.$store.dispatch("map/moveMap", { coordinates, - zoom: null, + zoom: 15, preventZoomOut: true }); } else {