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:
@@ -11,20 +11,20 @@ export const mapLayers = {
|
|||||||
checked: true,
|
checked: true,
|
||||||
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
|
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
|
||||||
url: "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
|
url: "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
|
||||||
maxZoom: 19
|
maxZoom: 20
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "🇵🇱 Polish Orthophoto (Standard)",
|
name: "🇵🇱 Polish Orthophoto (Standard)",
|
||||||
attribution: '© <a href="https://www.geoportal.gov.pl/">Geoportal</a>',
|
attribution: '© <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",
|
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
|
checked: false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "🇵🇱 Polish Orthophoto (High Resolution)",
|
name: "🇵🇱 Polish Orthophoto (High Resolution)",
|
||||||
attribution: '© <a href="https://www.geoportal.gov.pl/">Geoportal</a>',
|
attribution: '© <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",
|
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
|
checked: false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -44,13 +44,13 @@ export const mapLayers = {
|
|||||||
name: "Satellite (Esri)",
|
name: "Satellite (Esri)",
|
||||||
attribution: '© <a href="https://www.esri.com/">Esri</a> — Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community',
|
attribution: '© <a href="https://www.esri.com/">Esri</a> — 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}",
|
url: "https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}",
|
||||||
maxZoom: 19
|
maxZoom: 20
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Topographic",
|
name: "Topographic",
|
||||||
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, © <a href="https://carto.com/attributions">CARTO</a>',
|
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, © <a href="https://carto.com/attributions">CARTO</a>',
|
||||||
url: "https://{s}.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}{r}.png",
|
url: "https://{s}.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}{r}.png",
|
||||||
maxZoom: 19
|
maxZoom: 20
|
||||||
}
|
}
|
||||||
].filter(Boolean), // Remove any null entries
|
].filter(Boolean), // Remove any null entries
|
||||||
overlays: [
|
overlays: [
|
||||||
@@ -62,11 +62,10 @@ export const mapLayers = {
|
|||||||
maxZoom: 20,
|
maxZoom: 20,
|
||||||
opacity: 1.0,
|
opacity: 1.0,
|
||||||
checked: false
|
checked: false
|
||||||
},
|
}, {
|
||||||
{
|
name: "📋 Polish Cadastral Data (Działki) - Server 1",
|
||||||
name: "📋 Polish Cadastral Data",
|
|
||||||
type: "wms",
|
type: "wms",
|
||||||
attribution: '© <a href="https://www.gugik.gov.pl/">GUGiK</a>',
|
attribution: '© <a href="https://www.gugik.gov.pl/">GUGiK</a> - Krajowa Integracja Ewidencji Gruntów',
|
||||||
url: "https://integracja01.gugik.gov.pl/cgi-bin/KrajowaIntegracjaEwidencjiGruntow",
|
url: "https://integracja01.gugik.gov.pl/cgi-bin/KrajowaIntegracjaEwidencjiGruntow",
|
||||||
params: {
|
params: {
|
||||||
service: 'WMS',
|
service: 'WMS',
|
||||||
@@ -76,7 +75,28 @@ export const mapLayers = {
|
|||||||
format: 'image/png',
|
format: 'image/png',
|
||||||
transparent: true,
|
transparent: true,
|
||||||
version: '1.3.0',
|
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: '© <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,
|
opacity: 0.8,
|
||||||
checked: false
|
checked: false
|
||||||
@@ -94,7 +114,7 @@ export const mapLayers = {
|
|||||||
format: 'image/png',
|
format: 'image/png',
|
||||||
transparent: true,
|
transparent: true,
|
||||||
version: '1.3.0',
|
version: '1.3.0',
|
||||||
crs: 'EPSG:3857',
|
srs: 'EPSG:3857',
|
||||||
tiled: true
|
tiled: true
|
||||||
},
|
},
|
||||||
opacity: 0.7,
|
opacity: 0.7,
|
||||||
@@ -113,7 +133,7 @@ export const mapLayers = {
|
|||||||
format: 'image/png8',
|
format: 'image/png8',
|
||||||
transparent: true,
|
transparent: true,
|
||||||
version: '1.3.0',
|
version: '1.3.0',
|
||||||
crs: 'EPSG:3857',
|
srs: 'EPSG:3857',
|
||||||
tiled: true
|
tiled: true
|
||||||
},
|
},
|
||||||
opacity: 0.9,
|
opacity: 0.9,
|
||||||
@@ -132,7 +152,7 @@ export const mapLayers = {
|
|||||||
format: 'image/png8',
|
format: 'image/png8',
|
||||||
transparent: true,
|
transparent: true,
|
||||||
version: '1.1.1',
|
version: '1.1.1',
|
||||||
crs: 'EPSG:3857',
|
srs: 'EPSG:3857',
|
||||||
tiled: true
|
tiled: true
|
||||||
},
|
},
|
||||||
opacity: 1.0,
|
opacity: 1.0,
|
||||||
@@ -151,7 +171,7 @@ export const mapLayers = {
|
|||||||
format: 'image/png',
|
format: 'image/png',
|
||||||
transparent: true,
|
transparent: true,
|
||||||
version: '1.1.1',
|
version: '1.1.1',
|
||||||
crs: 'EPSG:3857',
|
srs: 'EPSG:3857',
|
||||||
tiled: true
|
tiled: true
|
||||||
},
|
},
|
||||||
opacity: 0.6,
|
opacity: 0.6,
|
||||||
|
|||||||
Reference in New Issue
Block a user