From 7297d0385bf81c00d4c82ab44a6490ef525fb35d Mon Sep 17 00:00:00 2001 From: Mojtaba Samimi Date: Tue, 7 Nov 2023 12:52:28 -0500 Subject: [PATCH 1/2] 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 --- src/plots/mapbox/constants.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 } }, From e8727d0977feda7d60a7f0dc937d9bb899b6d3b9 Mon Sep 17 00:00:00 2001 From: Mojtaba Samimi Date: Tue, 7 Nov 2023 13:43:26 -0500 Subject: [PATCH 2/2] draft log for PR 6776 --- draftlogs/6776_change.md | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 draftlogs/6776_change.md 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