feat: Update maxZoom values to 20 for various map layers and enhance Polish Cadastral Data layers with additional server support

This commit is contained in:
2025-06-24 13:30:36 +02:00
parent 4c11801ab1
commit 56088b4e78

View File

@@ -11,20 +11,20 @@ export const mapLayers = {
checked: true,
attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
url: "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
maxZoom: 19
maxZoom: 20
},
{
name: "🇵🇱 Polish Orthophoto (Standard)",
attribution: '&copy; <a href="https://www.geoportal.gov.pl/">Geoportal</a>',
url: "https://mapy.geoportal.gov.pl/wss/service/PZGIK/ORTO/WMTS/StandardResolution?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=ORTO&STYLE=default&TILEMATRIXSET=EPSG:3857&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&FORMAT=image/jpeg",
maxZoom: 19,
maxZoom: 20,
checked: false
},
{
name: "🇵🇱 Polish Orthophoto (High Resolution)",
attribution: '&copy; <a href="https://www.geoportal.gov.pl/">Geoportal</a>',
url: "https://mapy.geoportal.gov.pl/wss/service/PZGIK/ORTO/WMTS/HighResolution?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=ORTO&STYLE=default&TILEMATRIXSET=EPSG:3857&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&FORMAT=image/jpeg",
maxZoom: 19,
maxZoom: 20,
checked: false
},
{
@@ -44,13 +44,13 @@ export const mapLayers = {
name: "Satellite (Esri)",
attribution: '&copy; <a href="https://www.esri.com/">Esri</a> &mdash; Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community',
url: "https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}",
maxZoom: 19
maxZoom: 20
},
{
name: "Topographic",
attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, &copy; <a href="https://carto.com/attributions">CARTO</a>',
url: "https://{s}.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}{r}.png",
maxZoom: 19
maxZoom: 20
}
].filter(Boolean), // Remove any null entries
overlays: [
@@ -62,11 +62,10 @@ export const mapLayers = {
maxZoom: 20,
opacity: 1.0,
checked: false
},
{
name: "📋 Polish Cadastral Data",
}, {
name: "📋 Polish Cadastral Data (Działki) - Server 1",
type: "wms",
attribution: '&copy; <a href="https://www.gugik.gov.pl/">GUGiK</a>',
attribution: '&copy; <a href="https://www.gugik.gov.pl/">GUGiK</a> - Krajowa Integracja Ewidencji Gruntów',
url: "https://integracja01.gugik.gov.pl/cgi-bin/KrajowaIntegracjaEwidencjiGruntow",
params: {
service: 'WMS',
@@ -76,7 +75,28 @@ export const mapLayers = {
format: 'image/png',
transparent: true,
version: '1.3.0',
crs: 'EPSG:3857'
srs: 'EPSG:3857',
exceptions: 'xml',
tiled: true
},
opacity: 0.8,
checked: false
},
{
name: "📋 Polish Cadastral Data (Działki) - Server 2",
type: "wms",
attribution: '&copy; <a href="https://www.gugik.gov.pl/">GUGiK</a> - Krajowa Integracja Ewidencji Gruntów',
url: "https://integracja.gugik.gov.pl/cgi-bin/KrajowaIntegracjaEwidencjiGruntow",
params: {
service: 'WMS',
request: 'GetMap',
layers: 'dzialki,obreby,numery_dzialek,budynki,kontury,uzytki',
styles: ',,,,,,',
format: 'image/png',
transparent: true,
version: '1.3.0',
srs: 'EPSG:3857',
tiled: true
},
opacity: 0.8,
checked: false
@@ -94,7 +114,7 @@ export const mapLayers = {
format: 'image/png',
transparent: true,
version: '1.3.0',
crs: 'EPSG:3857',
srs: 'EPSG:3857',
tiled: true
},
opacity: 0.7,
@@ -113,7 +133,7 @@ export const mapLayers = {
format: 'image/png8',
transparent: true,
version: '1.3.0',
crs: 'EPSG:3857',
srs: 'EPSG:3857',
tiled: true
},
opacity: 0.9,
@@ -132,7 +152,7 @@ export const mapLayers = {
format: 'image/png8',
transparent: true,
version: '1.1.1',
crs: 'EPSG:3857',
srs: 'EPSG:3857',
tiled: true
},
opacity: 1.0,
@@ -151,7 +171,7 @@ export const mapLayers = {
format: 'image/png',
transparent: true,
version: '1.1.1',
crs: 'EPSG:3857',
srs: 'EPSG:3857',
tiled: true
},
opacity: 0.6,