diff --git a/javascript/pointMap.js b/javascript/pointMap.js index c61ae6504287d3ce9d79cdc8eb55ddb8d9bb3050..f7a00fd809f353458d0273e7fb6811e036f0ca73 100644 --- a/javascript/pointMap.js +++ b/javascript/pointMap.js @@ -1,7 +1,7 @@ // Punktene brukt i visningen av "kart 2": var NTNU_points = L.geoJSON(null); -fetch("javascript/exampleData/Arealdekke_klippa.geojson").then(function(response) { +fetch("javascript/exampleData/NTNU_points.geojson").then(function(response) { return response.json(); }).then(function(data) { NTNU_points.addData(data).bindPopup(function(point) {return `<b>${point.feature.properties.category}</b><br>${point.feature.properties.name}`});