Skip to main content

Interface: FlightPlanOriginDestEvent

Defined in: src/sdk/flightplan/FlightPlanner.ts:186

An event generated when the origin and/or destination information is updated.

Properties​

airport?​

readonly optional airport: string

Defined in: src/sdk/flightplan/FlightPlanner.ts:200

The ICAO string (V1) of the airport that was changed.

Deprecated​

Please use airportIcao instead.


airportIcao?​

readonly optional airportIcao: IcaoValue

Defined in: src/sdk/flightplan/FlightPlanner.ts:194

The ICAO value of the airport that was changed.


batch?​

readonly optional batch: readonly Readonly<FlightPlanModBatch>[]

Defined in: src/sdk/flightplan/FlightPlanner.ts:206

The modification batch stack to which the change was assigned, in order of increasing nestedness. Not defined if the change was not assigned to any batches.


planIndex​

readonly planIndex: number

Defined in: src/sdk/flightplan/FlightPlanner.ts:191

The index of the flight plan.


type​

readonly type: OriginDestChangeType

Defined in: src/sdk/flightplan/FlightPlanner.ts:188

The type of change.