Class: FixIcaoWaypointsRecord
A record with a single waypoint based on its flight plan leg's fixIcao property.
Hierarchy
AbstractFlightPlanLegWaypointsRecord
↳
FixIcaoWaypointsRecord
Constructors
constructor
• new FixIcaoWaypointsRecord(leg
, waypointRenderer
, facLoader
, facWaypointCache
, inactiveRenderRole
, activeRenderRole
): FixIcaoWaypointsRecord
Constructor.
Parameters
Name | Type | Description |
---|---|---|
leg | LegDefinition | The flight plan leg associated with this record. |
waypointRenderer | MapWaypointRenderer | The renderer used to render this record's waypoints. |
facLoader | FacilityLoader | The facility loader used by this waypoint. |
facWaypointCache | FacilityWaypointCache | The facility waypoint cache used by this record. |
inactiveRenderRole | MapWaypointRenderRole | The role(s) under which the waypoint should be registered when it is part of an inactive leg. |
activeRenderRole | MapWaypointRenderRole | The role(s) under which the waypoint should be registered when it is part of an active leg. |
Returns
Overrides
AbstractFlightPlanLegWaypointsRecord.constructor
Defined in
src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:97
Properties
_waypoint
• Protected
_waypoint: null
| FacilityWaypoint
<Facility
> = null
Defined in
src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:84
activeRenderRole
• Protected
Readonly
activeRenderRole: MapWaypointRenderRole
The role(s) under which the waypoint should be registered when it is part of an active leg.
Inherited from
AbstractFlightPlanLegWaypointsRecord.activeRenderRole
Defined in
src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:51
facLoader
• Protected
Readonly
facLoader: FacilityLoader
The facility loader used by this waypoint.
Inherited from
AbstractFlightPlanLegWaypointsRecord.facLoader
Defined in
src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:49
facWaypointCache
• Protected
Readonly
facWaypointCache: FacilityWaypointCache
The facility waypoint cache used by this record.
Defined in
src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:101
inactiveRenderRole
• Protected
Readonly
inactiveRenderRole: MapWaypointRenderRole
The role(s) under which the waypoint should be registered when it is part of an inactive leg.
Inherited from
AbstractFlightPlanLegWaypointsRecord.inactiveRenderRole
Defined in
src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:50
isActive
• Protected
isActive: boolean
= false
Inherited from
AbstractFlightPlanLegWaypointsRecord.isActive
Defined in
src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:34
leg
• Readonly
leg: LegDefinition
The flight plan leg associated with this record.
Inherited from
AbstractFlightPlanLegWaypointsRecord.leg
Defined in
src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:47
uid
• Protected
uid: string
Inherited from
AbstractFlightPlanLegWaypointsRecord.uid
Defined in
src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:33
waypointRenderer
• Protected
Readonly
waypointRenderer: MapWaypointRenderer
The renderer used to render this record's waypoints.
Inherited from
AbstractFlightPlanLegWaypointsRecord.waypointRenderer
Defined in
src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:48
Accessors
waypoint
• get
waypoint(): null
| FacilityWaypoint
<Facility
>
This record's waypoint.
Returns
null
| FacilityWaypoint
<Facility
>
Defined in
src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:112
Methods
deregisterWaypoint
▸ deregisterWaypoint(waypoint
, role
): void
Removes a registration for a waypoint from this record's waypoint renderer.
Parameters
Name | Type | Description |
---|---|---|
waypoint | Waypoint | A waypoint. |
role | MapWaypointRenderRole | The role(s) from which the waypoint should be deregistered. |
Returns
void
Inherited from
AbstractFlightPlanLegWaypointsRecord.deregisterWaypoint
Defined in
src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:75
destroy
▸ destroy(): void
Destroys this record. Deregisters all this record's waypoints with this record's waypoint renderer.
Returns
void
Overrides
AbstractFlightPlanLegWaypointsRecord.destroy
Defined in
src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:157
refresh
▸ refresh(isActive
): Promise
<void
>
Refreshes this record's waypoints, keeping them up to date with this record's associated flight plan leg.
Parameters
Name | Type | Description |
---|---|---|
isActive | boolean | Whether this record's leg is the active leg. |
Returns
Promise
<void
>
Overrides
AbstractFlightPlanLegWaypointsRecord.refresh
Defined in
src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:117
registerWaypoint
▸ registerWaypoint(waypoint
, role
): void
Registers a waypoint with this record's waypoint renderer.
Parameters
Name | Type | Description |
---|---|---|
waypoint | Waypoint | A waypoint. |
role | MapWaypointRenderRole | The role(s) under which the waypoint should be registered. |
Returns
void
Inherited from
AbstractFlightPlanLegWaypointsRecord.registerWaypoint
Defined in
src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:66