Skip to content

Commit 9156bd7

Browse files
authoredNov 7, 2023
Merge pull request #6776 from plotly/switch-to-stadiamaps-for-stamen-styles
stamen styles are now served by stadiamaps.com
2 parents bd366e8 + e8727d0 commit 9156bd7

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed
 

Diff for: ‎draftlogs/6776_change.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- Change stamen styles to point to stadiamaps.com, please note that in addition
2+
the users now need to provide their own API_KEY via MAPBOX_ACCESS_TOKEN

Diff for: ‎src/plots/mapbox/constants.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ var stylesNonMapbox = {
110110
'plotly-stamen-terrain': {
111111
type: 'raster',
112112
attribution: stamenTerrainOrToner,
113-
tiles: ['https://stamen-tiles.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png'],
113+
tiles: ['https://tiles.stadiamaps.com/tiles/stamen_terrain/{z}/{x}/{y}.png'],
114114
tileSize: 256
115115
}
116116
},
@@ -130,7 +130,7 @@ var stylesNonMapbox = {
130130
'plotly-stamen-toner': {
131131
type: 'raster',
132132
attribution: stamenTerrainOrToner,
133-
tiles: ['https://stamen-tiles.a.ssl.fastly.net/toner/{z}/{x}/{y}.png'],
133+
tiles: ['https://tiles.stadiamaps.com/tiles/stamen_toner/{z}/{x}/{y}.png'],
134134
tileSize: 256
135135
}
136136
},
@@ -150,7 +150,7 @@ var stylesNonMapbox = {
150150
'plotly-stamen-watercolor': {
151151
type: 'raster',
152152
attribution: stamenWaterColor,
153-
tiles: ['https://stamen-tiles.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.png'],
153+
tiles: ['https://tiles.stadiamaps.com/tiles/stamen_watercolor/{z}/{x}/{y}.jpg'],
154154
tileSize: 256
155155
}
156156
},

0 commit comments

Comments
 (0)
Please sign in to comment.