Skip to main content

Class: MapActiveFlightPlanDataProvider

Defined in: src/garminsdk/components/map/flightplan/MapActiveFlightPlanDataProvider.ts:9

A map flight plan layer data provider that provides the active flight plan from a flight planner to be displayed.

Implements

Constructors

Constructor

new MapActiveFlightPlanDataProvider(bus, options): MapActiveFlightPlanDataProvider

Defined in: src/garminsdk/components/map/flightplan/MapActiveFlightPlanDataProvider.ts:55

Creates a new instance of MapActiveFlightPlanDataProvider.

Parameters

ParameterTypeDescription
busEventBusThe event bus.
optionsReadonly<MapFlightPlannerPlanDataProviderOptions>Options with which to configure the data provider.

Returns

MapActiveFlightPlanDataProvider

Constructor

new MapActiveFlightPlanDataProvider(bus, flightPlanner): MapActiveFlightPlanDataProvider

Defined in: src/garminsdk/components/map/flightplan/MapActiveFlightPlanDataProvider.ts:64

Creates a new instance of MapActiveFlightPlanDataProvider.

Parameters

ParameterTypeDescription
busEventBusThe event bus.
flightPlannerFlightPlannerThe flight planner from which to retrieve displayed flight plans.

Returns

MapActiveFlightPlanDataProvider

Properties

activeLateralLegIndex

readonly activeLateralLegIndex: Subscribable<number>

Defined in: src/garminsdk/components/map/flightplan/MapActiveFlightPlanDataProvider.ts:21

A subscribable which provides the index of the active lateral leg of the displayed flight plan, or -1 if no such leg exists.

Implementation of

MapFlightPlanDataProvider.activeLateralLegIndex


readonly lnavData: Subscribable<undefined | LNavTrackingState>

Defined in: src/garminsdk/components/map/flightplan/MapActiveFlightPlanDataProvider.ts:23

A subscribable which provides LNAV data.

Implementation of

MapFlightPlanDataProvider.lnavData


obsCourse

readonly obsCourse: Subscribable<undefined | number>

Defined in: src/garminsdk/components/map/flightplan/MapActiveFlightPlanDataProvider.ts:45

A subscribable which provides the current OBS course, or undefined if OBS is not active.

Implementation of

MapFlightPlanDataProvider.obsCourse


plan

readonly plan: Subscribable<null | FlightPlan>

Defined in: src/garminsdk/components/map/flightplan/MapActiveFlightPlanDataProvider.ts:15

A subscribable which provides the flight plan to be displayed.

Implementation of

MapFlightPlanDataProvider.plan


planCalculated

readonly planCalculated: SubEvent<MapFlightPlannerPlanDataProvider, void>

Defined in: src/garminsdk/components/map/flightplan/MapActiveFlightPlanDataProvider.ts:19

An event which notifies when the displayed plan has been calculated.

Implementation of

MapFlightPlanDataProvider.planCalculated


planModified

readonly planModified: SubEvent<MapFlightPlannerPlanDataProvider, void>

Defined in: src/garminsdk/components/map/flightplan/MapActiveFlightPlanDataProvider.ts:17

An event which notifies when the displayed plan has been modified.

Implementation of

MapFlightPlanDataProvider.planModified


vnavBocLegIndex

readonly vnavBocLegIndex: Subscribable<number>

Defined in: src/garminsdk/components/map/flightplan/MapActiveFlightPlanDataProvider.ts:39

A subscribable which provides the index of the leg within which the VNAV bottom-of-climb point lies, or -1 if no such leg exists.

Implementation of

MapFlightPlanDataProvider.vnavBocLegIndex


vnavBodLegIndex

readonly vnavBodLegIndex: Subscribable<number>

Defined in: src/garminsdk/components/map/flightplan/MapActiveFlightPlanDataProvider.ts:31

A subscribable which provides the index of the leg within which the VNAV bottom-of-descent point lies, or -1 if no such leg exists.

Implementation of

MapFlightPlanDataProvider.vnavBodLegIndex


vnavDistanceToToc

readonly vnavDistanceToToc: Subscribable<NumberUnitInterface<Distance, Unit<Distance>>>

Defined in: src/garminsdk/components/map/flightplan/MapActiveFlightPlanDataProvider.ts:43

A subscribable which provides the distance along the flight path from the plane's current position to the next top-of-climb.

Implementation of

MapFlightPlanDataProvider.vnavDistanceToToc


vnavDistanceToTod

readonly vnavDistanceToTod: Subscribable<NumberUnitInterface<Distance, Unit<Distance>>>

Defined in: src/garminsdk/components/map/flightplan/MapActiveFlightPlanDataProvider.ts:35

A subscribable which provides the distance along the flight path from the plane's current position to the next top-of-descent.

Implementation of

MapFlightPlanDataProvider.vnavDistanceToTod


vnavPathMode

readonly vnavPathMode: Subscribable<VNavPathMode>

Defined in: src/garminsdk/components/map/flightplan/MapActiveFlightPlanDataProvider.ts:27

A subscribable which provides the currently active VNAV path mode.

Implementation of

MapFlightPlanDataProvider.vnavPathMode


vnavState

readonly vnavState: Subscribable<VNavState>

Defined in: src/garminsdk/components/map/flightplan/MapActiveFlightPlanDataProvider.ts:25

A subscribable which provides the current VNAV state.

Implementation of

MapFlightPlanDataProvider.vnavState


vnavTocLegDistance

readonly vnavTocLegDistance: Subscribable<NumberUnitInterface<Distance, Unit<Distance>>>

Defined in: src/garminsdk/components/map/flightplan/MapActiveFlightPlanDataProvider.ts:41

A subscribable which provides the distance along the flight path from the VNAV top-of-climb point to the end of the TOC leg.

Implementation of

MapFlightPlanDataProvider.vnavTocLegDistance


vnavTocLegIndex

readonly vnavTocLegIndex: Subscribable<number>

Defined in: src/garminsdk/components/map/flightplan/MapActiveFlightPlanDataProvider.ts:37

A subscribable which provides the index of the leg within which the VNAV top-of-climb point lies, or -1 if no such leg exists.

Implementation of

MapFlightPlanDataProvider.vnavTocLegIndex


vnavTodLegDistance

readonly vnavTodLegDistance: Subscribable<NumberUnitInterface<Distance, Unit<Distance>>>

Defined in: src/garminsdk/components/map/flightplan/MapActiveFlightPlanDataProvider.ts:33

A subscribable which provides the distance along the flight path from the VNAV top-of-descent point to the end of the TOD leg.

Implementation of

MapFlightPlanDataProvider.vnavTodLegDistance


vnavTodLegIndex

readonly vnavTodLegIndex: Subscribable<number>

Defined in: src/garminsdk/components/map/flightplan/MapActiveFlightPlanDataProvider.ts:29

A subscribable which provides the index of the leg within which the VNAV top-of-descent point lies, or -1 if no such leg exists.

Implementation of

MapFlightPlanDataProvider.vnavTodLegIndex

Methods

destroy()

destroy(): void

Defined in: src/garminsdk/components/map/flightplan/MapActiveFlightPlanDataProvider.ts:124

Destroys this data provider.

Returns

void