Class: WptInfoStore
Wpt info store
Hierarchy
WaypointInfoStore
↳
WptInfoStore
Constructors
constructor
• new WptInfoStore(waypoint?
, planePos?
, options?
): WptInfoStore
Constructor.
Parameters
Name | Type | Description |
---|---|---|
waypoint? | null | Waypoint | Subscribable <null | Waypoint > | A subscribable which provides this store's waypoint, or an initial value to set this store's waypoint. If not defined, this store's waypoint can still be set via its .waypoint property. |
planePos? | Subscribable <GeoPointInterface > | A subscribable which provides the current airplane position for this store. If not defined, then this store will not provide distance- or bearing-to-waypoint information. |
options? | Readonly <WaypointInfoStoreOptions > | Options with which to configure the store. |
Returns
Inherited from
WaypointInfoStore.constructor
Defined in
garminsdk/navigation/WaypointInfoStore.ts:96
Properties
city
• Readonly
city: Subscribable
<undefined
| string
>
The city associated with this store's current waypoint, or undefined
if there is no such value.
Inherited from
WaypointInfoStore.city
Defined in
garminsdk/navigation/WaypointInfoStore.ts:53
facility
• Readonly
facility: Subscribable
<null
| Facility
>
The facility associated with this store's current waypoint.
Inherited from
WaypointInfoStore.facility
Defined in
garminsdk/navigation/WaypointInfoStore.ts:31
name
• Readonly
name: Subscribable
<undefined
| string
>
The name of this store's current waypoint, or undefined
if there is no such value.
Inherited from
WaypointInfoStore.name
Defined in
garminsdk/navigation/WaypointInfoStore.ts:41
prompt
• Readonly
prompt: Subject
<string
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/WptInfo/WptInfoStore.ts:9
region
• Readonly
region: Subscribable
<undefined
| string
>
The region of this store's current waypoint, or undefined
if there is no such value.
Inherited from
WaypointInfoStore.region
Defined in
garminsdk/navigation/WaypointInfoStore.ts:50
waypoint
• Readonly
waypoint: Subject
<null
| Waypoint
>
This store's current waypoint.
Inherited from
WaypointInfoStore.waypoint
Defined in
garminsdk/navigation/WaypointInfoStore.ts:27
Accessors
bearing
• get
bearing(): Subscribable
<NumberUnitInterface
<"navangle"
, NavAngleUnit
>>
The true bearing, in degrees, from the airplane to this store's current waypoint.
Returns
Subscribable
<NumberUnitInterface
<"navangle"
, NavAngleUnit
>>
Inherited from
WaypointInfoStore.bearing
Defined in
garminsdk/navigation/WaypointInfoStore.ts:71
distance
• get
distance(): Subscribable
<NumberUnitInterface
<Distance
, Unit
<Distance
>>>
The distance from the airplane to this store's current waypoint.
Returns
Subscribable
<NumberUnitInterface
<Distance
, Unit
<Distance
>>>
Inherited from
WaypointInfoStore.distance
Defined in
garminsdk/navigation/WaypointInfoStore.ts:64
location
• get
location(): Subscribable
<GeoPointInterface
>
The location of this store's current waypoint.
Returns
Subscribable
<GeoPointInterface
>
Inherited from
WaypointInfoStore.location
Defined in
garminsdk/navigation/WaypointInfoStore.ts:36
matchedWaypoints
• get
matchedWaypoints(): readonly FacilityWaypoint
<Facility
>[]
An array of waypoints which have matched the input.
Returns
readonly FacilityWaypoint
<Facility
>[]
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/WptInfo/WptInfoStore.ts:14
radial
• get
radial(): Subscribable
<NumberUnitInterface
<"navangle"
, NavAngleUnit
>>
The radial relative to true north, in degrees, from this store's current waypoint along which the airplane lies.
Returns
Subscribable
<NumberUnitInterface
<"navangle"
, NavAngleUnit
>>
Inherited from
WaypointInfoStore.radial
Defined in
garminsdk/navigation/WaypointInfoStore.ts:78
Methods
destroy
▸ destroy(): void
Destroys this store.
Returns
void
Inherited from
WaypointInfoStore.destroy
Defined in
garminsdk/navigation/WaypointInfoStore.ts:230
setMatchedWaypoints
▸ setMatchedWaypoints(waypoints
): void
Set the list of matched waypoints.
Parameters
Name | Type | Description |
---|---|---|
waypoints | readonly FacilityWaypoint <Facility >[] | An array of matched waypoints. |
Returns
void
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/WptInfo/WptInfoStore.ts:22