show implausible routes
Feedback was to show routes that seem implausible and simply clearly mark them. Hopefully two leading questionmarks is sufficient. I haven't figured out how to add a link to a page where people could suggest an update for the data. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
@@ -2933,8 +2933,12 @@ PlaneObject.prototype.setFlight = function(flight) {
|
||||
}
|
||||
console.log(logText);
|
||||
}
|
||||
if (route.airport_codes != 'unknown' && route.plausible == true) {
|
||||
g.route_cache[route.callsign] = route._airport_codes_iata;
|
||||
if (route.airport_codes != 'unknown') {
|
||||
if (route.plausible == true) {
|
||||
g.route_cache[route.callsign] = route._airport_codes_iata;
|
||||
} else {
|
||||
g.route_cache[route.callsign] = `?? ${route._airport_codes_iata}`;
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user