Skip to main content

Interface: LegDefinition

A definition of a leg in a flight plan.

Properties

calculated

Optional calculated: LegCalculations

The calculated leg data.

Defined in

src/sdk/flightplan/FlightPlanning.ts:347


flags

Readonly flags: number

Leg definition flags. See LegDefinitionFlags. Use BitFlags to check.

Defined in

src/sdk/flightplan/FlightPlanning.ts:353


leg

leg: Readonly<FlightPlanLeg>

The leg of the flight plan.

Defined in

src/sdk/flightplan/FlightPlanning.ts:350


name

Optional Readonly name: string

The display name of the leg.

Defined in

src/sdk/flightplan/FlightPlanning.ts:344


userData

Readonly userData: Record<string, any>

This leg's user data.

Defined in

src/sdk/flightplan/FlightPlanning.ts:359


verticalData

Readonly verticalData: Readonly<VerticalData> & Pick<VerticalData, "fpa">

Vertical Leg Data. All the fields should be readonly except for calculated fields like fpa.

Defined in

src/sdk/flightplan/FlightPlanning.ts:356