Interface: SyncedPredictions
Predictions that have been serialized into JSON and back, causing NaN to become null.
Properties
altitude
• altitude: null
| number
The altitude predicted at this point, in metres
Defined in
src/sdk/utils/predictions/FlightPlanPredictionProvider.ts:115
distance
• distance: null
| number
The distance to the point, in metres. Can be a mix of along-path and great-circle distance based on the available data.
Defined in
src/sdk/utils/predictions/FlightPlanPredictionProvider.ts:106
duration
• duration: null
| number
The total duration of the leg in seconds.
Defined in
src/sdk/utils/predictions/FlightPlanPredictionProvider.ts:124
estimatedTimeOfArrival
• estimatedTimeOfArrival: null
| number
The estimated time of arrival, in UNIX timestamp seconds
Defined in
src/sdk/utils/predictions/FlightPlanPredictionProvider.ts:109
fob
• fob: null
| number
The weight predicted at the point, in pounds
Defined in
src/sdk/utils/predictions/FlightPlanPredictionProvider.ts:112
ident
• ident: string
A string identifier associated with this prediction
Defined in
src/sdk/utils/predictions/FlightPlanPredictionProvider.ts:91
isSpeedMach
• isSpeedMach: null
| boolean
Whether or not the speed is a mach or CAS value.
Defined in
src/sdk/utils/predictions/FlightPlanPredictionProvider.ts:121
position
• position: Object
The location of this point
Type declaration
Name | Type | Description |
---|---|---|
lat | null | number | The latitude, in degrees. |
lon | null | number | The longitude, in degrees. |
Defined in
src/sdk/utils/predictions/FlightPlanPredictionProvider.ts:94
speed
• speed: null
| number
The predicted leg speed.
Defined in
src/sdk/utils/predictions/FlightPlanPredictionProvider.ts:118
valid
• valid: boolean
Whether the contents of this prediction are valid and up-to-date
Defined in
src/sdk/utils/predictions/FlightPlanPredictionProvider.ts:103