diff --git a/templates/map.html b/templates/map.html index 12eb36d..df0e588 100644 --- a/templates/map.html +++ b/templates/map.html @@ -80,7 +80,7 @@ function UpdateMap(e) { var links = e[1] } - $.get("/activestations", function(data, status){ + $.get("/active_stations", function(data, status){ data = JSON.parse(data) Object.keys(data).forEach(function(x){ marker = L.marker([1],{icon: station,zIndexOffset:-1000}).addTo(mymap);