Skip to content

Commit 7297d03

Browse files
committed
stamen styles are now served by stadiamaps.com
- to use these maps you need to get your own key - the key could be set via mapboxAccessToken
1 parent bd366e8 commit 7297d03

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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)