Skip to content

Commit

Permalink
replace stamen basemap by osm
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentsarago committed Aug 23, 2023
1 parent d36b50f commit ee7367e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 24 deletions.
12 changes: 4 additions & 8 deletions runtime/eoapi/raster/eoapi/raster/templates/mosaic-builder.html
Original file line number Diff line number Diff line change
Expand Up @@ -265,24 +265,20 @@
style: {
version: 8,
sources: {
'toner-lite': {
'osm': {
type: 'raster',
tiles: [
'https://stamen-tiles-a.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}.png',
'https://stamen-tiles-b.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}.png',
'https://stamen-tiles-c.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}.png',
'https://stamen-tiles-d.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}.png'
'https://tile.openstreetmap.org/{z}/{x}/{y}.png'
],
tileSize: 256,
attribution:
'Map tiles by <a href="https://stamen.com">Stamen Design</a>, under <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>. Data by <a href="http://openstreetmap.org">OpenStreetMap</a>, under <a href="http://www.openstreetmap.org/copyright">ODbL</a>.'
attribution: 'Map data &copy; <a href="https://openstreetmap.org/copyright">OpenStreetMap contributors</a>'
}
},
layers: [
{
'id': 'basemap',
'type': 'raster',
'source': 'toner-lite',
'source': 'osm',
'minzoom': 0,
'maxzoom': 20
}
Expand Down
12 changes: 4 additions & 8 deletions runtime/eoapi/raster/eoapi/raster/templates/stac-viewer.html
Original file line number Diff line number Diff line change
Expand Up @@ -315,24 +315,20 @@
style: {
version: 8,
sources: {
'toner-lite': {
'osm': {
type: 'raster',
tiles: [
'https://stamen-tiles-a.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}.png',
'https://stamen-tiles-b.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}.png',
'https://stamen-tiles-c.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}.png',
'https://stamen-tiles-d.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}.png'
'https://tile.openstreetmap.org/{z}/{x}/{y}.png'
],
tileSize: 256,
attribution:
'Map tiles by <a href="http://stamen.com">Stamen Design</a>, under <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>. Data by <a href="http://openstreetmap.org">OpenStreetMap</a>, under <a href="http://www.openstreetmap.org/copyright">ODbL</a>.'
attribution: 'Map data &copy; <a href="https://openstreetmap.org/copyright">OpenStreetMap contributors</a>'
}
},
layers: [
{
'id': 'basemap',
'type': 'raster',
'source': 'toner-lite',
'source': 'osm',
'minzoom': 0,
'maxzoom': 20
}
Expand Down
12 changes: 4 additions & 8 deletions runtime/eoapi/stac/eoapi/stac/templates/stac-viewer.html
Original file line number Diff line number Diff line change
Expand Up @@ -292,24 +292,20 @@
style: {
version: 8,
sources: {
'toner-lite': {
'osm': {
type: 'raster',
tiles: [
'https://stamen-tiles-a.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}.png',
'https://stamen-tiles-b.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}.png',
'https://stamen-tiles-c.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}.png',
'https://stamen-tiles-d.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}.png'
'https://tile.openstreetmap.org/{z}/{x}/{y}.png'
],
tileSize: 256,
attribution:
'Map tiles by <a href="https://stamen.com">Stamen Design</a>, under <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>. Data by <a href="http://openstreetmap.org">OpenStreetMap</a>, under <a href="http://www.openstreetmap.org/copyright">ODbL</a>.'
attribution: 'Map data &copy; <a href="https://openstreetmap.org/copyright">OpenStreetMap contributors</a>'
}
},
layers: [
{
'id': 'basemap',
'type': 'raster',
'source': 'toner-lite',
'source': 'osm',
'minzoom': 0,
'maxzoom': 20
}
Expand Down

0 comments on commit ee7367e

Please sign in to comment.