diff --git a/website/src/lib/assets/layers.ts b/website/src/lib/assets/layers.ts
index 8fd9aa7c..d54a078f 100644
--- a/website/src/lib/assets/layers.ts
+++ b/website/src/lib/assets/layers.ts
@@ -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: '© Lantmäteriet'
+ },
+ 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: '© Lantmäteriet'
}
},
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: '© Lantmäteriet'
+ }
+ },
+ 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,
diff --git a/website/src/locales/en.json b/website/src/locales/en.json
index 411bd305..ed9dbed6 100644
--- a/website/src/locales/en.json
+++ b/website/src/locales/en.json
@@ -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",