mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-02 16:52:31 +00:00
update swisstopo maps
This commit is contained in:
@@ -74,23 +74,8 @@ export const basemaps: { [key: string]: string | Style; } = {
|
|||||||
}],
|
}],
|
||||||
},
|
},
|
||||||
linz: 'https://basemaps.linz.govt.nz/v1/tiles/topographic/EPSG:3857/style/topographic.json?api=d01fbtg0ar23gctac5m0jgyy2ds',
|
linz: 'https://basemaps.linz.govt.nz/v1/tiles/topographic/EPSG:3857/style/topographic.json?api=d01fbtg0ar23gctac5m0jgyy2ds',
|
||||||
swisstopo: {
|
swisstopo: 'https://vectortiles.geo.admin.ch/styles/ch.swisstopo.basemap.vt/style.json',
|
||||||
version: 8,
|
swisstopoSatellite: 'https://vectortiles.geo.admin.ch/styles/ch.swisstopo.imagerybasemap.vt/style.json',
|
||||||
sources: {
|
|
||||||
swisstopo: {
|
|
||||||
type: 'raster',
|
|
||||||
tiles: ['https://wmts.geo.admin.ch/1.0.0/ch.swisstopo.pixelkarte-farbe/default/current/3857/{z}/{x}/{y}.jpeg'],
|
|
||||||
tileSize: 256,
|
|
||||||
maxzoom: 18,
|
|
||||||
attribution: '© <a href="https://www.swisstopo.admin.ch" target="_blank">swisstopo</a>'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
layers: [{
|
|
||||||
id: 'swisstopo',
|
|
||||||
type: 'raster',
|
|
||||||
source: 'swisstopo',
|
|
||||||
}],
|
|
||||||
},
|
|
||||||
linzTopo: {
|
linzTopo: {
|
||||||
version: 8,
|
version: 8,
|
||||||
sources: {
|
sources: {
|
||||||
@@ -474,6 +459,7 @@ export const basemapTree: LayerTreeType = {
|
|||||||
},
|
},
|
||||||
switzerland: {
|
switzerland: {
|
||||||
swisstopo: true,
|
swisstopo: true,
|
||||||
|
swisstopoSatellite: true,
|
||||||
},
|
},
|
||||||
united_kingdom: {
|
united_kingdom: {
|
||||||
ordnanceSurvey: true,
|
ordnanceSurvey: true,
|
||||||
@@ -610,6 +596,7 @@ export const defaultBasemapTree: LayerTreeType = {
|
|||||||
},
|
},
|
||||||
switzerland: {
|
switzerland: {
|
||||||
swisstopo: false,
|
swisstopo: false,
|
||||||
|
swisstopoSatellite: false,
|
||||||
},
|
},
|
||||||
united_kingdom: {
|
united_kingdom: {
|
||||||
ordnanceSurvey: false,
|
ordnanceSurvey: false,
|
||||||
|
@@ -143,6 +143,7 @@
|
|||||||
"linz": "LINZ Topo",
|
"linz": "LINZ Topo",
|
||||||
"linzTopo": "LINZ Topo50",
|
"linzTopo": "LINZ Topo50",
|
||||||
"swisstopo": "swisstopo",
|
"swisstopo": "swisstopo",
|
||||||
|
"swisstopoSatellite": "swisstopo Satellite",
|
||||||
"ignFrPlan": "IGN Plan",
|
"ignFrPlan": "IGN Plan",
|
||||||
"ignFrScan25": "IGN SCAN25",
|
"ignFrScan25": "IGN SCAN25",
|
||||||
"ignFrSatellite": "IGN Satellite",
|
"ignFrSatellite": "IGN Satellite",
|
||||||
|
Reference in New Issue
Block a user