diff client/src/components/gauge/Gauges.vue @ 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 b6cc4838d2c0
children 18a639e1f7f4
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 {