Skip to content

Commit

Permalink
Change maxZoom for landingpage Catalog and WebGis
Browse files Browse the repository at this point in the history
  • Loading branch information
pathmapper committed Dec 27, 2021
1 parent 6f38fd6 commit ea55fd7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resources/server/src/landingpage/src/views/Catalog.vue
Expand Up @@ -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>
Expand Down Expand Up @@ -182,6 +183,7 @@ export default {
layers: Utils.getAllLayers(project),
transparent: true,
format: "image/png",
maxZoom: 19
}).addTo(map);
},
},
Expand Down
3 changes: 3 additions & 0 deletions resources/server/src/landingpage/src/views/WebGis.vue
Expand Up @@ -42,6 +42,7 @@
v-resize="onResize"
@ready="setMap"
style="z-index: 0"
maxZoom="22"
>
<l-tile-layer
:visible="baseMap == 'openstreetmap'"
Expand All @@ -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>
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit ea55fd7

Please sign in to comment.