Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stamen styles are now served by stadiamaps.com #6776

Merged
merged 2 commits into from
Nov 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions draftlogs/6776_change.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Change stamen styles to point to stadiamaps.com, please note that in addition
the users now need to provide their own API_KEY via MAPBOX_ACCESS_TOKEN
6 changes: 3 additions & 3 deletions src/plots/mapbox/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ var stylesNonMapbox = {
'plotly-stamen-terrain': {
type: 'raster',
attribution: stamenTerrainOrToner,
tiles: ['https://stamen-tiles.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png'],
tiles: ['https://tiles.stadiamaps.com/tiles/stamen_terrain/{z}/{x}/{y}.png'],
tileSize: 256
}
},
Expand All @@ -130,7 +130,7 @@ var stylesNonMapbox = {
'plotly-stamen-toner': {
type: 'raster',
attribution: stamenTerrainOrToner,
tiles: ['https://stamen-tiles.a.ssl.fastly.net/toner/{z}/{x}/{y}.png'],
tiles: ['https://tiles.stadiamaps.com/tiles/stamen_toner/{z}/{x}/{y}.png'],
tileSize: 256
}
},
Expand All @@ -150,7 +150,7 @@ var stylesNonMapbox = {
'plotly-stamen-watercolor': {
type: 'raster',
attribution: stamenWaterColor,
tiles: ['https://stamen-tiles.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.png'],
tiles: ['https://tiles.stadiamaps.com/tiles/stamen_watercolor/{z}/{x}/{y}.jpg'],
tileSize: 256
}
},
Expand Down