From cd2bc2e3fe9ddb96291b969b7bd8cd2a0ccdb38b Mon Sep 17 00:00:00 2001 From: Hiko Naito Date: Wed, 11 Mar 2020 16:21:44 -0700 Subject: [PATCH] Update Mapbox Tiles API to modern Static Tiles API per https://docs.mapbox.com/help/troubleshooting/migrate-legacy-static-tiles-api/ --- README.md | 4 ++-- src/constants/configurations.sample.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fcc8b95..d17adf4 100644 --- a/README.md +++ b/README.md @@ -71,8 +71,8 @@ soda: ```yaml map: - tileUrl: https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png - tileId: mapbox.light + tileUrl: https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y} + tileId: mapbox/light-v10 mapboxToken: (ENTER YOUR MAPBOX ACCESS TOKEN) ``` diff --git a/src/constants/configurations.sample.yml b/src/constants/configurations.sample.yml index f7da163..6bb89d1 100644 --- a/src/constants/configurations.sample.yml +++ b/src/constants/configurations.sample.yml @@ -39,8 +39,8 @@ breakoutLabel: stratification1 # Mapbox and other map related configurations map: # Mapbox tile style setting - tileUrl: https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png - tileId: mapbox.light + tileUrl: https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y} + tileId: mapbox/light-v10 mapboxToken: (ENTER YOUR MAPBOX ACCESS TOKEN) # attribution displayed inside Choropleth map attribution: |