diff options
| author | Anson Bridges <bridges.anson@gmail.com> | 2023-11-10 17:19:16 -0500 |
|---|---|---|
| committer | Anson Bridges <bridges.anson@gmail.com> | 2023-11-10 17:19:16 -0500 |
| commit | 094e72d57ed52de21f57a6fd7a771e81c5a79cc6 (patch) | |
| tree | b566022fb4e4c7765883c380fb78ee19e638b0f3 /dashboard_website/static | |
| parent | 9879b6d32571c7583532ceb63752edb3cf262ab5 (diff) | |
map api key
Diffstat (limited to 'dashboard_website/static')
| -rw-r--r-- | dashboard_website/static/js/dashboard.js | 4 |
1 files changed, 2 insertions, 2 deletions
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: '© <a href="https://www.stadiamaps.com/" target="_blank">Stadia Maps</a> © <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a> © <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> 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' |
