mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-08-31 23:53:25 +00:00
add spanish satellite layer
This commit is contained in:
@@ -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}'],
|
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,
|
tileSize: 256,
|
||||||
maxzoom: 20,
|
maxzoom: 20,
|
||||||
attribution: 'IGN-F/Géoportail'
|
attribution: '© <a href="https://www.ign.es" target="_blank">IGN</a>'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
layers: [{
|
layers: [{
|
||||||
@@ -167,6 +167,23 @@ export const basemaps: { [key: string]: string | StyleSpecification; } = {
|
|||||||
source: 'ignEs',
|
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: '© <a href="https://www.ign.es" target="_blank">IGN</a>'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
layers: [{
|
||||||
|
id: 'ignEsSatellite',
|
||||||
|
type: 'raster',
|
||||||
|
source: 'ignEsSatellite',
|
||||||
|
}],
|
||||||
|
},
|
||||||
ordnanceSurvey: "https://api.os.uk/maps/vector/v1/vts/resources/styles?srs=3857&key=piCT8WysfuC3xLSUW7sGLfrAAJoYDvQz",
|
ordnanceSurvey: "https://api.os.uk/maps/vector/v1/vts/resources/styles?srs=3857&key=piCT8WysfuC3xLSUW7sGLfrAAJoYDvQz",
|
||||||
norwayTopo: {
|
norwayTopo: {
|
||||||
version: 8,
|
version: 8,
|
||||||
@@ -636,6 +653,7 @@ export const basemapTree: LayerTreeType = {
|
|||||||
},
|
},
|
||||||
spain: {
|
spain: {
|
||||||
ignEs: true,
|
ignEs: true,
|
||||||
|
ignEsSatellite: true,
|
||||||
},
|
},
|
||||||
sweden: {
|
sweden: {
|
||||||
swedenTopo: true,
|
swedenTopo: true,
|
||||||
@@ -855,6 +873,7 @@ export const defaultBasemapTree: LayerTreeType = {
|
|||||||
},
|
},
|
||||||
spain: {
|
spain: {
|
||||||
ignEs: false,
|
ignEs: false,
|
||||||
|
ignEsSatellite: false,
|
||||||
},
|
},
|
||||||
sweden: {
|
sweden: {
|
||||||
swedenTopo: false,
|
swedenTopo: false,
|
||||||
|
@@ -314,7 +314,8 @@
|
|||||||
"ignFrTopo": "IGN Topo",
|
"ignFrTopo": "IGN Topo",
|
||||||
"ignFrScan25": "IGN SCAN25",
|
"ignFrScan25": "IGN SCAN25",
|
||||||
"ignFrSatellite": "IGN Satellite",
|
"ignFrSatellite": "IGN Satellite",
|
||||||
"ignEs": "IGN",
|
"ignEs": "IGN Topo",
|
||||||
|
"ignEsSatellite": "IGN Satellite",
|
||||||
"ordnanceSurvey": "Ordnance Survey",
|
"ordnanceSurvey": "Ordnance Survey",
|
||||||
"norwayTopo": "Topografisk Norgeskart 4",
|
"norwayTopo": "Topografisk Norgeskart 4",
|
||||||
"swedenTopo": "Lantmäteriet Topo",
|
"swedenTopo": "Lantmäteriet Topo",
|
||||||
|
Reference in New Issue
Block a user