mirror of
				https://github.com/gpxstudio/gpx.studio.git
				synced 2025-11-04 05:21:09 +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}'],
 | 
			
		||||
                tileSize: 256,
 | 
			
		||||
                maxzoom: 20,
 | 
			
		||||
                attribution: 'IGN-F/Géoportail'
 | 
			
		||||
                attribution: '© <a href="https://www.ign.es" target="_blank">IGN</a>'
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        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: '© <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",
 | 
			
		||||
    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,
 | 
			
		||||
 
 | 
			
		||||
@@ -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",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user