From 094e72d57ed52de21f57a6fd7a771e81c5a79cc6 Mon Sep 17 00:00:00 2001 From: Anson Bridges Date: Fri, 10 Nov 2023 17:19:16 -0500 Subject: map api key --- dashboard_website/static/js/dashboard.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dashboard_website/static') diff --git a/dashboard_website/static/js/dashboard.js b/dashboard_website/static/js/dashboard.js index a67f85f..cb1c1aa 100644 --- a/dashboard_website/static/js/dashboard.js +++ b/dashboard_website/static/js/dashboard.js @@ -227,14 +227,14 @@ window.onload = function() { clues = {}; bikes = {}; routes = {}; map = L.map('map').setView([42.3626081,-71.0620591], 13); - L.tileLayer('https://tiles.stadiamaps.com/tiles/alidade_smooth_dark/{z}/{x}/{y}{r}.{ext}', { + L.tileLayer('https://tiles.stadiamaps.com/tiles/alidade_smooth_dark/{z}/{x}/{y}{r}.{ext}?api_key=24746ff5-179d-482f-97a8-0267c5b276a1', { minZoom: 0, maxZoom: 20, attribution: '© Stadia Maps © OpenMapTiles © OpenStreetMap contributors', ext: 'png' }).addTo(map); previewmap = L.map('previewmap').setView([42.3626081,-71.0620591], 16); - L.tileLayer('https://tiles.stadiamaps.com/tiles/alidade_smooth_dark/{z}/{x}/{y}{r}.{ext}', { + L.tileLayer('https://tiles.stadiamaps.com/tiles/alidade_smooth_dark/{z}/{x}/{y}{r}.{ext}?api_key=24746ff5-179d-482f-97a8-0267c5b276a1', { minZoom: 0, maxZoom: 20, ext: 'png' -- cgit v1.2.3