changeset 2966:4bc2cc6364bc

client: inlined component property
author Markus Kottlaender <markus@intevation.de>
date Mon, 08 Apr 2019 17:44:49 +0200
parents 8acd0a235a94
children 7c301ff449bc
files client/src/components/Maplayer.vue
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/Maplayer.vue	Mon Apr 08 17:40:09 2019 +0200
+++ b/client/src/components/Maplayer.vue	Mon Apr 08 17:44:49 2019 +0200
@@ -49,7 +49,6 @@
   name: "maplayer",
   data() {
     return {
-      projection: "EPSG:3857",
       splitscreen: false
     };
   },
@@ -177,7 +176,7 @@
         center: [this.extent.lon, this.extent.lat],
         minZoom: 5, // restrict zooming out to ~size of Europe for width 1000px
         zoom: this.extent.zoom,
-        projection: this.projection
+        projection: "EPSG:3857"
       })
     });
     map.on("moveend", event => {