diff --git a/html/config.js b/html/config.js index a71ad23..aa0a905 100644 --- a/html/config.js +++ b/html/config.js @@ -366,6 +366,7 @@ HideCols = [ // // //jaeroTimeout = 35 * 60; // in seconds +//jaeroLabel = "ADS-C"; // relabel the ADS-C data if used for other purposes (i.e. HFDL / acars2pos) //seenTimeout = 58; // in seconds //seenTimeoutMlat = 58; // in seconds diff --git a/html/defaults.js b/html/defaults.js index 545fbb1..d1f1945 100644 --- a/html/defaults.js +++ b/html/defaults.js @@ -372,6 +372,7 @@ let askLocation = false; // requires https for geolocation let filterMaxRange = 1e8; // 100 000 km should include all planes on earth ;) let jaeroTimeout = 35 * 60; // in seconds +let jaeroLabel = "ADS-C"; // relabel the ADS-C data if used for other purposes (i.e. HFDL / acars2pos) let seenTimeout = 58; // in seconds let seenTimeoutMlat = 58; // in seconds @@ -405,7 +406,7 @@ let tableColors = { mlat: "#FDF7DD", uat: "#C4FFDC", adsr: "#C4FFDC", - adsc: "#C4FFDC", + adsc: "#9efa9e", modeS: "#d8d8ff", tisb: "#ffd8e6", unknown: "#dcdcdc", @@ -417,7 +418,7 @@ let tableColors = { mlat: "#F1DD83", uat: "#66FFA6", adsr: "#66FFA6", - adsc: "#66FFA6", + adsc: "#75f075", modeS: "#BEBEFF", tisb: "#FFC1D8", unknown: "#bcbcbc", diff --git a/html/formatter.js b/html/formatter.js index 3059103..39e2a62 100644 --- a/html/formatter.js +++ b/html/formatter.js @@ -324,7 +324,7 @@ function format_data_source(source) { case 'mode_ac': return "Mode A/C"; case 'adsc': - return "Sat. ADS-C"; + return jaeroLabel; case 'other': return "Other"; } diff --git a/html/script.js b/html/script.js index 3a2b784..35f2019 100644 --- a/html/script.js +++ b/html/script.js @@ -1758,10 +1758,7 @@ jQuery('#selected_altitude_geom1') function initLegend(colors) { let html = ''; html += '