1
0
Fork 0

Stupid little errors

merge-requests/1/head
wgaylord 2018-12-18 21:19:15 -06:00
parent 7003b7ab99
commit 04ba084a5a
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ function UpdateMap(e) {
$.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);
marker = L.marker(x[1],{icon: station,zIndexOffset:-1000}).addTo(mymap);
marker.bindPopup("<b>Name: "+x[2]+"</b>")
});