Skip to content
Permalink
Browse files
Change maxZoom for landingpage Catalog and WebGis
  • Loading branch information
pathmapper committed Dec 27, 2021
1 parent 6f38fd6 commit ea55fd7bb97f17fb86e9f77fba412cad27064212
Showing with 5 additions and 0 deletions.
  1. +2 −0 resources/server/src/landingpage/src/views/Catalog.vue
  2. +3 −0 resources/server/src/landingpage/src/views/WebGis.vue
@@ -67,6 +67,7 @@
v-if="
project.capabilities.wmsOutputCrsList.includes('EPSG:3857')
"
:options="{maxZoom: 19}"
></l-tile-layer>
</l-map>
<v-card-title>{{ project.title }}</v-card-title>
@@ -182,6 +183,7 @@ export default {
layers: Utils.getAllLayers(project),
transparent: true,
format: "image/png",
maxZoom: 19
}).addTo(map);
},
},
@@ -42,6 +42,7 @@
v-resize="onResize"
@ready="setMap"
style="z-index: 0"
maxZoom="22"
>
<l-tile-layer
:visible="baseMap == 'openstreetmap'"
@@ -51,6 +52,7 @@
project.capabilities.wmsOutputCrsList.includes('EPSG:3857')
"
attribution="&copy; &lt;a href='https://www.openstreetmap.org/copyright'&gt;OpenStreetMap&lt;/a&gt; contributors"
:options="{maxZoom: 22, maxNativeZoom: 19}"
></l-tile-layer>
</l-map>
</v-layout>
@@ -317,6 +319,7 @@ export default {
tileSize: 512,
transparent: true,
format: "image/png",
maxZoom: 22,
dpi: window.devicePixelRatio * 96,
onGetFeatureInfo: this.onGetFeatureInfo,
onGetFeatureInfoStarted: this.onGetFeatureInfoStarted,

0 comments on commit ea55fd7

Please sign in to comment.