Skip to content

Commit

Permalink
fix: update base layers
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGreatRefrigerator committed Oct 16, 2023
1 parent d12968c commit 178ba6b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 27 deletions.
38 changes: 15 additions & 23 deletions src/config-examples/app-config-example.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: &copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>, <a href=https:///viewfinderpanoramas.org">SRTM</a> | Map style: &copy; <a href="https://opentopomap.org">OpenTopoMap</a> (<a href="https://creativecommons.org/licenses/by-sa/3.0/">CC-BY-SA</a>)',
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 &copy; <a href="https://thunderforest.com/">Thunderforest</a>, Data &copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
maxZoom: 18
url: 'https://tiles.stadiamaps.com/tiles/stamen_toner_lite/{z}/{x}/{y}{r}.png',
attribution: '&copy; <a href="https://stadiamaps.com/" target="_blank">Stadia Maps</a> <a href="https://stamen.com/" target="_blank">&copy; Stamen Design</a> &copy; <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a> &copy; <a href="https://www.openstreetmap.org/about" target="_blank">OpenStreetMap</a> 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 &copy; <a href="https://thunderforest.com/">Thunderforest</a>, Data &copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
maxZoom: 18
url: 'https://tiles.stadiamaps.com/tiles/stamen_toner/{z}/{x}/{y}{r}.png',
attribution: '&copy; <a href="https://stadiamaps.com/" target="_blank">Stadia Maps</a> <a href="https://stamen.com/" target="_blank">&copy; Stamen Design</a> &copy; <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a> &copy; <a href="https://www.openstreetmap.org/about" target="_blank">OpenStreetMap</a> 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: '<a href="https://github.com/cyclosm/cyclosm-cartocss-style/releases" title="CyclOSM - Open Bicycle render">CyclOSM</a> | Map data: &copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
maxZoom: 20
url: 'https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png',
attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors &copy; <a href="https://carto.com/attributions">CARTO</a>',
maxZoom: 19
}
],
wpsOverlayerTileProviders: []
Expand Down
7 changes: 3 additions & 4 deletions src/config-examples/settings-options-example.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' }
]
}

Expand Down

0 comments on commit 178ba6b

Please sign in to comment.