Fix webmap to look for site location under the right names.
This commit is contained in:
parent
1cdfe8db27
commit
f04c4d5dde
|
@ -56,10 +56,10 @@ function initialize() {
|
||||||
// with initialization
|
// with initialization
|
||||||
$.getJSON('data/receiver.json')
|
$.getJSON('data/receiver.json')
|
||||||
.done(function(data) {
|
.done(function(data) {
|
||||||
if (typeof data.receiverlat !== "undefined") {
|
if (typeof data.lat !== "undefined") {
|
||||||
SiteShow = true;
|
SiteShow = true;
|
||||||
SiteLat = data.receiverlat;
|
SiteLat = data.lat;
|
||||||
SiteLon = data.receiverlon;
|
SiteLon = data.lon;
|
||||||
}
|
}
|
||||||
|
|
||||||
Dump1090Version = data.version;
|
Dump1090Version = data.version;
|
||||||
|
|
Loading…
Reference in a new issue