Mercurial > gemma
diff client/src/components/map/Map.vue @ 4806:a905438a7935
map: disable rotation
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Mon, 28 Oct 2019 13:07:01 +0100 |
parents | 9cd00133dff9 |
children | 008bc1ae8897 |
line wrap: on
line diff
--- a/client/src/components/map/Map.vue Mon Oct 28 12:24:35 2019 +0100 +++ b/client/src/components/map/Map.vue Mon Oct 28 13:07:01 2019 +0100 @@ -104,6 +104,7 @@ } else { this.map.setView( new View({ + enableRotation: false, center: [this.extent.lon, this.extent.lat], minZoom: 5, // restrict zooming out to ~size of Europe for width 1000px zoom: this.extent.zoom, @@ -229,6 +230,7 @@ this.$store.commit( "map/syncedView", new View({ + enableRotation: false, center: [this.extent.lon, this.extent.lat], minZoom: 5, // restrict zooming out to ~size of Europe for width 1000px zoom: this.extent.zoom,