diff --git a/draftlogs/6776_change.md b/draftlogs/6776_change.md new file mode 100644 index 00000000000..a3d78e4a41d --- /dev/null +++ b/draftlogs/6776_change.md @@ -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 diff --git a/src/plots/mapbox/constants.js b/src/plots/mapbox/constants.js index 786ae8fac47..6b6ab1ae8fe 100644 --- a/src/plots/mapbox/constants.js +++ b/src/plots/mapbox/constants.js @@ -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 } }, @@ -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 } }, @@ -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 } },