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
| Parameter | Type | Description |
|---|---|---|
bus | EventBus | The event bus. |
options | Readonly<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
| Parameter | Type | Description |
|---|---|---|
bus | EventBus | The event bus. |
flightPlanner | FlightPlanner | The flight planner from which to retrieve displayed flight plans. |
Returns
MapActiveFlightPlanDataProvider
Properties
activeLateralLegIndex
readonlyactiveLateralLegIndex: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
lnavData
readonlylnavData:Subscribable<undefined|LNavTrackingState>
Defined in: src/garminsdk/components/map/flightplan/MapActiveFlightPlanDataProvider.ts:23
A subscribable which provides LNAV data.
Implementation of
MapFlightPlanDataProvider.lnavData
obsCourse
readonlyobsCourse: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
readonlyplan: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
readonlyplanCalculated: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
readonlyplanModified: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
readonlyvnavBocLegIndex: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
readonlyvnavBodLegIndex: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
readonlyvnavDistanceToToc: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
readonlyvnavDistanceToTod: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
readonlyvnavPathMode: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
readonlyvnavState: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
readonlyvnavTocLegDistance: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
readonlyvnavTocLegIndex: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
readonlyvnavTodLegDistance: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
readonlyvnavTodLegIndex: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:127
Destroys this data provider.
Returns
void