mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-08-30 23:30:04 +00:00
improve swedish maps
This commit is contained in:
@@ -188,18 +188,49 @@ export const basemaps: { [key: string]: string | Style; } = {
|
||||
swedenTopo: {
|
||||
version: 8,
|
||||
sources: {
|
||||
swedenTopo: {
|
||||
swedenTopoWMTS: {
|
||||
type: 'raster',
|
||||
tiles: ['https://api.lantmateriet.se/open/topowebb-ccby/v1/wmts/token/1d54dd14-a28c-38a9-b6f3-b4ebfcc3c204/1.0.0/topowebb/default/3857/{z}/{y}/{x}.png'],
|
||||
tileSize: 256,
|
||||
maxzoom: 14,
|
||||
attribution: '© <a href="https://www.lantmateriet.se" target="_blank">Lantmäteriet</a>'
|
||||
},
|
||||
swedenTopoWMS: {
|
||||
type: 'raster',
|
||||
tiles: ['https://minkarta.lantmateriet.se/map/topowebb?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&FORMAT=image%2Fpng&STYLES=&TRANSPARENT=false&LAYERS=topowebbkartan&TILED=true&MAP_RESOLUTION=180&WIDTH=512&HEIGHT=512&SRS=EPSG%3A3857&BBOX={bbox-epsg-3857}'],
|
||||
tileSize: 512,
|
||||
minzoom: 14,
|
||||
maxzoom: 20,
|
||||
attribution: '© <a href="https://www.lantmateriet.se" target="_blank">Lantmäteriet</a>'
|
||||
}
|
||||
},
|
||||
layers: [{
|
||||
id: 'swedenTopo',
|
||||
id: 'swedenTopoWMTS',
|
||||
type: 'raster',
|
||||
source: 'swedenTopo',
|
||||
source: 'swedenTopoWMTS',
|
||||
maxzoom: 14
|
||||
}, {
|
||||
id: 'swedenTopoWMS',
|
||||
type: 'raster',
|
||||
source: 'swedenTopoWMS',
|
||||
minzoom: 14
|
||||
}],
|
||||
},
|
||||
swedenSatellite: {
|
||||
version: 8,
|
||||
sources: {
|
||||
swedenSatellite: {
|
||||
type: 'raster',
|
||||
tiles: ['https://minkarta.lantmateriet.se/map/ortofoto?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&FORMAT=image%2Fpng&STYLES=&TRANSPARENT=false&LAYERS=Ortofoto_0.5%2COrtofoto_0.4%2COrtofoto_0.25%2COrtofoto_0.16&TILED=true&MAP_RESOLUTION=180&WIDTH=512&HEIGHT=512&SRS=EPSG%3A3857&BBOX={bbox-epsg-3857}'],
|
||||
tileSize: 512,
|
||||
maxzoom: 22,
|
||||
attribution: '© <a href="https://www.lantmateriet.se" target="_blank">Lantmäteriet</a>'
|
||||
}
|
||||
},
|
||||
layers: [{
|
||||
id: 'swedenSatellite',
|
||||
type: 'raster',
|
||||
source: 'swedenSatellite',
|
||||
}],
|
||||
},
|
||||
finlandTopo: {
|
||||
@@ -608,6 +639,7 @@ export const basemapTree: LayerTreeType = {
|
||||
},
|
||||
sweden: {
|
||||
swedenTopo: true,
|
||||
swedenSatellite: true,
|
||||
},
|
||||
switzerland: {
|
||||
swisstopoRaster: true,
|
||||
@@ -826,6 +858,7 @@ export const defaultBasemapTree: LayerTreeType = {
|
||||
},
|
||||
sweden: {
|
||||
swedenTopo: false,
|
||||
swedenSatellite: false,
|
||||
},
|
||||
switzerland: {
|
||||
swisstopoRaster: false,
|
||||
|
@@ -269,6 +269,7 @@
|
||||
"ordnanceSurvey": "Ordnance Survey",
|
||||
"norwayTopo": "Topografisk Norgeskart 4",
|
||||
"swedenTopo": "Lantmäteriet Topo",
|
||||
"swedenSatellite": "Lantmäteriet Satellite",
|
||||
"finlandTopo": "Lantmäteriverket Terrängkarta",
|
||||
"bgMountains": "BGMountains",
|
||||
"usgs": "USGS",
|
||||
|
Reference in New Issue
Block a user