remove temporary layer

This commit is contained in:
vcoppe committed 2026-11-29 13:16:57 +01:00
1 parent 5f46b08eda
commit 657cf8786c
1 file changed
-25
-25
View File
@@ -24,10 +24,6 @@ import {
} from 'lucide-static'; } from 'lucide-static';
import { type RasterDEMSourceSpecification, type StyleSpecification } from 'maplibre-gl'; import { type RasterDEMSourceSpecification, type StyleSpecification } from 'maplibre-gl';
import bikerouterGravel from '$lib/data/custom/bikerouter-gravel.json'; import bikerouterGravel from '$lib/data/custom/bikerouter-gravel.json';
import {
OPEN_SATELLITE_PROTOCOL,
openSatelliteAttribution,
} from '$lib/components/map/open-satellite';
export const maptilerKeyPlaceHolder = 'MAPTILER_KEY'; export const maptilerKeyPlaceHolder = 'MAPTILER_KEY';
@@ -36,25 +32,6 @@ export const basemaps: { [key: string]: string | StyleSpecification } = {
libertySatellite: 'https://styles.gpx.studio/liberty-satellite.json', libertySatellite: 'https://styles.gpx.studio/liberty-satellite.json',
osm: 'https://styles.gpx.studio/osm.json', osm: 'https://styles.gpx.studio/osm.json',
osmTopo: 'https://styles.gpx.studio/osm-topo.json', osmTopo: 'https://styles.gpx.studio/osm-topo.json',
openSatellite: {
version: 8,
sources: {
openSatellite: {
type: 'raster',
tiles: [`${OPEN_SATELLITE_PROTOCOL}://{z}/{x}/{y}`],
tileSize: 256,
maxzoom: 19,
attribution: openSatelliteAttribution,
},
},
layers: [
{
id: 'openSatellite',
type: 'raster',
source: 'openSatellite',
},
],
},
openStreetMap: { openStreetMap: {
version: 8, version: 8,
sources: { sources: {
@@ -832,7 +809,6 @@ export const basemapTree: LayerTreeType = {
libertySatellite: true, libertySatellite: true,
osm: true, osm: true,
osmTopo: true, osmTopo: true,
openSatellite: true,
openStreetMap: true, openStreetMap: true,
openTopoMap: true, openTopoMap: true,
openHikingMap: true, openHikingMap: true,
@@ -1061,7 +1037,6 @@ export const defaultBasemapTree: LayerTreeType = {
libertySatellite: true, libertySatellite: true,
osm: true, osm: true,
osmTopo: true, osmTopo: true,
openSatellite: true,
openStreetMap: true, openStreetMap: true,
openTopoMap: true, openTopoMap: true,
openHikingMap: true, openHikingMap: true,