From 178ba6bf6db0650306af3446eb26a662242628e0 Mon Sep 17 00:00:00 2001 From: Amandus Butzer Date: Mon, 16 Oct 2023 16:12:32 +0200 Subject: [PATCH] fix: update base layers --- src/config-examples/app-config-example.js | 38 ++++++++----------- .../settings-options-example.js | 7 ++-- 2 files changed, 18 insertions(+), 27 deletions(-) diff --git a/src/config-examples/app-config-example.js b/src/config-examples/app-config-example.js index f8f219b91..ac76d9973 100755 --- a/src/config-examples/app-config-example.js +++ b/src/config-examples/app-config-example.js @@ -75,36 +75,28 @@ const appConfig = { maxZoom: 19 }, { - name: 'Topography', - id: 'topography', + name: 'Lite contrast', + id: 'stamen-toner-lite', visible: false, - url: 'https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png', - attribution: 'Map data: © OpenStreetMap, SRTM | Map style: © OpenTopoMap (CC-BY-SA)', - maxZoom: 18 - }, - { - name: 'Transport Dark', - id: 'transport-dark', - visible: false, - url: 'https://{s}.tile.thunderforest.com/transport-dark/{z}/{x}/{y}.png?apikey=13efc496ac0b486ea05691c820824f5f', - attribution: 'Maps © Thunderforest, Data © OpenStreetMap contributors', - maxZoom: 18 + url: 'https://tiles.stadiamaps.com/tiles/stamen_toner_lite/{z}/{x}/{y}{r}.png', + attribution: '© Stadia Maps © Stamen Design © OpenMapTiles © OpenStreetMap contributors', + maxZoom: 19 }, { - name: 'Outdoors', - id: 'outdoors', + name: 'High contrast', + id: 'stamen-toner', visible: false, - url: 'https://{s}.tile.thunderforest.com/outdoors/{z}/{x}/{y}.png?apikey=13efc496ac0b486ea05691c820824f5f', - attribution: 'Maps © Thunderforest, Data © OpenStreetMap contributors', - maxZoom: 18 + url: 'https://tiles.stadiamaps.com/tiles/stamen_toner/{z}/{x}/{y}{r}.png', + attribution: '© Stadia Maps © Stamen Design © OpenMapTiles © OpenStreetMap contributors', + maxZoom: 19 }, { - name: 'Cyclosm', - id: 'cyclosm', + name: 'Light color', + id: 'cartodb-positron', visible: false, - url: 'https://{s}.tile-openstreetmap.fr/cyclosm/{z}/{x}/{y}.png', - attribution: 'CyclOSM | Map data: © OpenStreetMap contributors', - maxZoom: 20 + url: 'https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png', + attribution: '© OpenStreetMap contributors © CARTO', + maxZoom: 19 } ], wpsOverlayerTileProviders: [] diff --git a/src/config-examples/settings-options-example.js b/src/config-examples/settings-options-example.js index 27073a21c..aa748bd52 100644 --- a/src/config-examples/settings-options-example.js +++ b/src/config-examples/settings-options-example.js @@ -26,10 +26,9 @@ const settingsOptions = { tileServices: [ { text: 'OpenStreetMap', value: 'osm' }, { text: 'World Imagery', value: 'world-imagery' }, - { text: 'Topography', value: 'topography' }, - { text: 'Transport Dark', value: 'transport-dark' }, - { text: 'Cyclosm', value: 'cyclosm' }, - { text: 'Custom', value: 'custom' } + { text: 'Lite contrast', value: 'stamen-toner-lite' }, + { text: 'High contrast', value: 'stamen-toner' }, + { text: 'Light color', value: 'cartodb-positron' } ] }