ais filter -.-

This commit is contained in:
Matthias Wirth
2024-08-17 22:16:35 +02:00
parent 8d63283f8c
commit bc9fe9fbad

View File

@@ -83,7 +83,7 @@ let firstFetch = true;
let debugCounter = 0;
let pathName = window.location.pathname.replace(/\/+/, '/') || "/";
let sourcesFilter = null;
let sources = ['adsb', ['uat', 'adsr'], 'mlat', 'tisb', 'modeS', 'other', 'adsc'];
let sources = ['adsb', ['uat', 'adsr'], 'mlat', 'tisb', 'modeS', 'other', 'adsc', 'ais'];
let flagFilter = null;
let flagFilterValues = ['military', 'pia', 'ladd'];
let showTrace = false;
@@ -1758,6 +1758,10 @@ function initSourceFilter(colors) {
html += createFilter(colors['other'], 'Other', sources[5]);
html += createFilter(colors['uat'], 'ADS-C', sources[6]);
if (aiscatcher_server) {
html += createFilter(colors['ais'], 'AIS', sources[7]);
}
document.getElementById('sourceFilter').innerHTML = html;
jQuery("#sourceFilter").selectable({