Skip to content

Commit

Permalink
Merge pull request #128 from developmentseed/removeStamen
Browse files Browse the repository at this point in the history
replace stamen basemap by osm
  • Loading branch information
vincentsarago authored Aug 24, 2023
2 parents 6f19826 + 29556c9 commit 7f9ee49
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 7f9ee49

Please sign in to comment.