diff --git a/website/src/lib/assets/layers.ts b/website/src/lib/assets/layers.ts index fc8e5af2..82b787e8 100644 --- a/website/src/lib/assets/layers.ts +++ b/website/src/lib/assets/layers.ts @@ -158,7 +158,7 @@ export const basemaps: { [key: string]: string | StyleSpecification; } = { tiles: ['https://www.ign.es/wmts/mapa-raster?layer=MTN&style=default&tilematrixset=GoogleMapsCompatible&Service=WMTS&Request=GetTile&Version=1.0.0&Format=image/jpeg&TileMatrix={z}&TileCol={x}&TileRow={y}'], tileSize: 256, maxzoom: 20, - attribution: 'IGN-F/Géoportail' + attribution: '© IGN' } }, layers: [{ @@ -167,6 +167,23 @@ export const basemaps: { [key: string]: string | StyleSpecification; } = { source: 'ignEs', }], }, + ignEsSatellite: { + version: 8, + sources: { + ignEsSatellite: { + type: 'raster', + tiles: ['https://www.ign.es/wmts/pnoa-ma?layer=OI.OrthoimageCoverage&style=default&tilematrixset=GoogleMapsCompatible&Service=WMTS&Request=GetTile&Version=1.0.0&Format=image/jpeg&TileMatrix={z}&TileCol={x}&TileRow={y}'], + tileSize: 256, + maxzoom: 20, + attribution: '© IGN' + } + }, + layers: [{ + id: 'ignEsSatellite', + type: 'raster', + source: 'ignEsSatellite', + }], + }, ordnanceSurvey: "https://api.os.uk/maps/vector/v1/vts/resources/styles?srs=3857&key=piCT8WysfuC3xLSUW7sGLfrAAJoYDvQz", norwayTopo: { version: 8, @@ -636,6 +653,7 @@ export const basemapTree: LayerTreeType = { }, spain: { ignEs: true, + ignEsSatellite: true, }, sweden: { swedenTopo: true, @@ -855,6 +873,7 @@ export const defaultBasemapTree: LayerTreeType = { }, spain: { ignEs: false, + ignEsSatellite: false, }, sweden: { swedenTopo: false, diff --git a/website/src/locales/en.json b/website/src/locales/en.json index 2aa1a91e..b73f5771 100644 --- a/website/src/locales/en.json +++ b/website/src/locales/en.json @@ -314,7 +314,8 @@ "ignFrTopo": "IGN Topo", "ignFrScan25": "IGN SCAN25", "ignFrSatellite": "IGN Satellite", - "ignEs": "IGN", + "ignEs": "IGN Topo", + "ignEsSatellite": "IGN Satellite", "ordnanceSurvey": "Ordnance Survey", "norwayTopo": "Topografisk Norgeskart 4", "swedenTopo": "Lantmäteriet Topo",