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
|
||||
$.getJSON('data/receiver.json')
|
||||
.done(function(data) {
|
||||
if (typeof data.receiverlat !== "undefined") {
|
||||
if (typeof data.lat !== "undefined") {
|
||||
SiteShow = true;
|
||||
SiteLat = data.receiverlat;
|
||||
SiteLon = data.receiverlon;
|
||||
SiteLat = data.lat;
|
||||
SiteLon = data.lon;
|
||||
}
|
||||
|
||||
Dump1090Version = data.version;
|
||||
|
|
Loading…
Reference in a new issue