add support to display SkyView978 json file

This commit is contained in:
Matthias Wirth
2019-07-29 19:51:41 +02:00
parent 22fdbe6845
commit 4a3becd1b7
6 changed files with 118 additions and 53 deletions

View File

@@ -8,6 +8,7 @@ function PlaneObject(icao) {
this.squawk = null;
this.selected = false;
this.category = null;
this.uat = false;
// Basic location information
this.altitude = null;
@@ -305,6 +306,8 @@ PlaneObject.prototype.getDataSource = function() {
if (this.position_from_mlat) {
return 'mlat';
}
if (this.uat)
return 'uat';
// Not MLAT, but position reported - ADSB or variants
if (this.position != null) {