Skip to content

Commit

Permalink
fix: migrate stamen map references to stadia maps raster api (#321)
Browse files Browse the repository at this point in the history
### Issue
#291

### What?

- Update Stamen Maps to Stadia Maps 
### Why?

- Addressed this changed in a [previous
PR](#301) but didn't
realize that I needed to update the raster api as well

### Testing?

- Local testing on vscode without deploying to dev
  • Loading branch information
botanical authored Feb 26, 2024
2 parents c672098 + 5c4b9df commit 3cc699a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions raster_api/runtime/src/templates/stac-viewer.html
Original file line number Diff line number Diff line change
Expand Up @@ -318,14 +318,11 @@
'toner-lite': {
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://tiles.stadiamaps.com/tiles/stamen_toner_lite/{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>.'
'&copy; <a href="https://stadiamaps.com/" target="_blank">Stadia Maps</a> &copy; <a href="https://www.stamen.com/" target="_blank">Stamen Design</a> &copy; <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a> &copy; <a href="https://www.openstreetmap.org/copyright/" target="_blank">OpenStreetMap</a>'
}
},
layers: [
Expand Down

0 comments on commit 3cc699a

Please sign in to comment.