Skip to main content

Interface: SyncedPredictions

Defined in: src/sdk/utils/predictions/FlightPlanPredictionProvider.ts:89

Predictions that have been serialized into JSON and back, causing NaN to become null.

Properties

altitude

altitude: null | number

Defined in: src/sdk/utils/predictions/FlightPlanPredictionProvider.ts:115

The altitude predicted at this point, in metres


distance

distance: null | number

Defined in: src/sdk/utils/predictions/FlightPlanPredictionProvider.ts:106

The distance to the point, in metres. Can be a mix of along-path and great-circle distance based on the available data.


duration

duration: null | number

Defined in: src/sdk/utils/predictions/FlightPlanPredictionProvider.ts:124

The total duration of the leg in seconds.


estimatedTimeOfArrival

estimatedTimeOfArrival: null | number

Defined in: src/sdk/utils/predictions/FlightPlanPredictionProvider.ts:109

The estimated time of arrival, in UNIX timestamp seconds


fob

fob: null | number

Defined in: src/sdk/utils/predictions/FlightPlanPredictionProvider.ts:112

The weight predicted at the point, in pounds


ident

ident: string

Defined in: src/sdk/utils/predictions/FlightPlanPredictionProvider.ts:91

A string identifier associated with this prediction


isSpeedMach

isSpeedMach: null | boolean

Defined in: src/sdk/utils/predictions/FlightPlanPredictionProvider.ts:121

Whether or not the speed is a mach or CAS value.


position

position: object

Defined in: src/sdk/utils/predictions/FlightPlanPredictionProvider.ts:94

The location of this point

lat

lat: null | number

The latitude, in degrees.

lon

lon: null | number

The longitude, in degrees.


speed

speed: null | number

Defined in: src/sdk/utils/predictions/FlightPlanPredictionProvider.ts:118

The predicted leg speed.


valid

valid: boolean

Defined in: src/sdk/utils/predictions/FlightPlanPredictionProvider.ts:103

Whether the contents of this prediction are valid and up-to-date