From c9e729a48a726152672f0def82ee5ca7c32601ec Mon Sep 17 00:00:00 2001 From: Oliver Jowett Date: Wed, 9 May 2018 15:20:45 +0100 Subject: [PATCH] Hide extended data fields by default --- public_html/config.js | 5 +++++ public_html/index.html | 2 ++ public_html/script.js | 6 +++++- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/public_html/config.js b/public_html/config.js index 8b34bc2..5a134e3 100644 --- a/public_html/config.js +++ b/public_html/config.js @@ -118,3 +118,8 @@ ChartBundleLayers = false; // BingMapsAPIKey = "your key here"; // BingMapsAPIKey = null; + +// Turn on display of extra Mode S EHS / ADS-B v1/v2 data +// This is not polished yet (and so is disabled by default), +// currently it's just a data dump of the new fields with no UX work. +ExtendedData = false; diff --git a/public_html/index.html b/public_html/index.html index ba582ce..dd25799 100644 --- a/public_html/index.html +++ b/public_html/index.html @@ -172,6 +172,7 @@ + AirFrames.org diff --git a/public_html/script.js b/public_html/script.js index 4afbbea..43be896 100644 --- a/public_html/script.js +++ b/public_html/script.js @@ -197,7 +197,11 @@ function initialize() { refreshClock(); $("#loader").removeClass("hidden"); - + + if (ExtendedData) { + $("#extendedData").removeClass("hidden"); + } + // Set up map/sidebar splitter $("#sidebar_container").resizable({handles: {w: '#splitter'}});