mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
fix(flights): a trail does not join its track history across a landing or take-off that was not seen
This commit is contained in:
1 parent
693faae44e
commit
7e45d4d989
7 files changed
+215
-12
No files matched your search
@@ -113,6 +113,9 @@ export function createFlightSnapshotRenderer({
|
||||
// Drawn at an invented height: a trail seeded from history keeps no
|
||||
// position for it.
|
||||
inventedHeight: meta.renderAltitudeInvented === true,
|
||||
// Whether this report was on the ground: a trail backfill joins it
|
||||
// only across a landing or take-off it saw.
|
||||
onGround: meta.onGround === true,
|
||||
});
|
||||
if (history.length > POSITION_HISTORY_LIMIT) {
|
||||
history.shift();
|
||||
|
||||
Reference in new issue
Block a user