From 7003b7ab9926b8c7cc14fdb5e0d42bcbfa4b7803 Mon Sep 17 00:00:00 2001 From: wgaylord Date: Tue, 18 Dec 2018 21:13:31 -0600 Subject: [PATCH] Fix inital objects --- templates/map.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);