diff --git a/themes/intotheeast/templates/dailies.html.twig b/themes/intotheeast/templates/dailies.html.twig index 1600597..ceaa377 100644 --- a/themes/intotheeast/templates/dailies.html.twig +++ b/themes/intotheeast/templates/dailies.html.twig @@ -28,10 +28,9 @@ var FEED_ENTRIES = {{ map_entries|json_encode|raw }}; var map = L.map('feed-map', { minZoom: 2, maxZoom: 18, zoomControl: true }); -// TODO: add Stadia API key before launch — free dev use requires no key, production does -L.tileLayer('https://tiles.stadiamaps.com/tiles/alidade_smooth_dark/{z}/{x}/{y}{r}.png', { +L.tileLayer('https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}{r}.png', { maxZoom: 20, - attribution: '© Stadia Maps © OpenMapTiles © OpenStreetMap contributors' + attribution: '© OpenStreetMap contributors © CARTO' }).addTo(map); var latLngs = FEED_ENTRIES.map(function(e) { return [parseFloat(e.lat), parseFloat(e.lng)]; }); diff --git a/themes/intotheeast/templates/map.html.twig b/themes/intotheeast/templates/map.html.twig index 3f908b0..1901756 100644 --- a/themes/intotheeast/templates/map.html.twig +++ b/themes/intotheeast/templates/map.html.twig @@ -43,10 +43,9 @@ var ENTRIES = {{ map_entries|json_encode|raw }}; var map = L.map('trip-map', { minZoom: 2, maxZoom: 18 }); -// TODO: add Stadia API key before launch — free dev use requires no key, production does -L.tileLayer('https://tiles.stadiamaps.com/tiles/alidade_smooth_dark/{z}/{x}/{y}{r}.png', { +L.tileLayer('https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}{r}.png', { maxZoom: 20, - attribution: '© Stadia Maps © OpenMapTiles © OpenStreetMap contributors' + attribution: '© OpenStreetMap contributors © CARTO' }).addTo(map); // GPX route tracks