mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-11-30 09:34:29 +00:00
remove temporary layer
This commit is contained in:
1 parent
5f46b08eda
commit
657cf8786c
1 file changed
-25
@@ -24,10 +24,6 @@ import {
|
||||
} from 'lucide-static';
|
||||
import { type RasterDEMSourceSpecification, type StyleSpecification } from 'maplibre-gl';
|
||||
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';
|
||||
|
||||
@@ -36,25 +32,6 @@ export const basemaps: { [key: string]: string | StyleSpecification } = {
|
||||
libertySatellite: 'https://styles.gpx.studio/liberty-satellite.json',
|
||||
osm: 'https://styles.gpx.studio/osm.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: {
|
||||
version: 8,
|
||||
sources: {
|
||||
@@ -832,7 +809,6 @@ export const basemapTree: LayerTreeType = {
|
||||
libertySatellite: true,
|
||||
osm: true,
|
||||
osmTopo: true,
|
||||
openSatellite: true,
|
||||
openStreetMap: true,
|
||||
openTopoMap: true,
|
||||
openHikingMap: true,
|
||||
@@ -1061,7 +1037,6 @@ export const defaultBasemapTree: LayerTreeType = {
|
||||
libertySatellite: true,
|
||||
osm: true,
|
||||
osmTopo: true,
|
||||
openSatellite: true,
|
||||
openStreetMap: true,
|
||||
openTopoMap: true,
|
||||
openHikingMap: true,
|
||||
|
||||
Reference in new issue
Block a user