From f04c4d5ddee894a285d963d6fa6ebf73ff738955 Mon Sep 17 00:00:00 2001 From: Oliver Jowett Date: Wed, 10 Dec 2014 21:34:05 +0000 Subject: [PATCH] Fix webmap to look for site location under the right names. --- public_html/script.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public_html/script.js b/public_html/script.js index 83aa95e..8cbbc2a 100644 --- a/public_html/script.js +++ b/public_html/script.js @@ -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;