Commit ccf5f916 authored by Elias Sagmo Larsen's avatar Elias Sagmo Larsen
Browse files

redefinition

parent 62e2369f
Pipeline #129192 passed with stage
in 31 seconds
......@@ -19,7 +19,7 @@ async function retrieveFacility(id) {
let lat = parseFloat(facilityData.latitude);
let long = parseFloat(facilityData.longitude);
let map = L.map('map').setView([lat, long], 17);
map = L.map('map').setView([lat, long], 17);
L.tileLayer('https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token={accessToken}', {
attribution: 'Map data &copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, Imagery © <a href="https://www.mapbox.com/">Mapbox</a>',
maxZoom: 18,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment