routeApi: don't check plausibility for historic data

This commit is contained in:
Matthias Wirth
2025-10-22 17:08:18 +00:00
parent afa36499ff
commit 1792d7feab

View File

@@ -2927,12 +2927,11 @@ PlaneObject.prototype.routeCheck = function() {
if (!route || currentTime > route.tarNextUpdate) {
// we have all the pieces that allow us to lookup a route
let route_check = { 'callsign': currentName, 'lat': this.position[1], 'lng': this.position[0], icao: this.icao};
/*
if (showTrace || replay) {
if ((showTrace || replay) && routeApiUrl.includes("adsb.im")) {
delete route_check['lat'];
delete route_check['lng'];
}
*/
g.route_check_todo[currentName] = route_check;
return;
}