Skip to main content

Class: FlightPathTerminatorWaypointsRecord

Defined in: src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:181

A record with a single flight path waypoint representing its flight plan leg's terminator fix.

Extends​

Constructors​

Constructor​

new FlightPathTerminatorWaypointsRecord(leg, waypointRenderer, facLoader, inactiveRenderRole, activeRenderRole): FlightPathTerminatorWaypointsRecord

Defined in: src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:47

Constructor.

Parameters​

ParameterTypeDescription
legLegDefinitionThe flight plan leg associated with this record.
waypointRendererMapWaypointRendererThe renderer used to render this record's waypoints.
facLoaderFacilityLoaderThe facility loader used by this record.
inactiveRenderRoleMapWaypointRenderRoleThe role(s) under which the waypoint should be registered when it is part of an inactive leg.
activeRenderRoleMapWaypointRenderRoleThe role(s) under which the waypoint should be registered when it is part of an active leg.

Returns​

FlightPathTerminatorWaypointsRecord

Inherited from​

AbstractFlightPlanLegWaypointsRecord.constructor

Properties​

_waypoint​

protected _waypoint: FlightPathWaypoint | null = null

Defined in: src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:186


_waypointLocation?​

protected optional _waypointLocation: GeoPointSubject

Defined in: src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:187


activeRenderRole​

protected readonly activeRenderRole: MapWaypointRenderRole

Defined in: src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:52

The role(s) under which the waypoint should be registered when it is part of an active leg.

Inherited from​

AbstractFlightPlanLegWaypointsRecord.activeRenderRole


facLoader​

protected readonly facLoader: FacilityLoader

Defined in: src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:50

The facility loader used by this record.

Inherited from​

AbstractFlightPlanLegWaypointsRecord.facLoader


id​

protected readonly id: number

Defined in: src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:184


inactiveRenderRole​

protected readonly inactiveRenderRole: MapWaypointRenderRole

Defined in: src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:51

The role(s) under which the waypoint should be registered when it is part of an inactive leg.

Inherited from​

AbstractFlightPlanLegWaypointsRecord.inactiveRenderRole


isActive​

protected isActive: boolean = false

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

Inherited from​

AbstractFlightPlanLegWaypointsRecord.isActive


leg​

readonly leg: LegDefinition

Defined in: src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:48

The flight plan leg associated with this record.

Inherited from​

AbstractFlightPlanLegWaypointsRecord.leg


uid​

protected uid: string

Defined in: src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:34

Inherited from​

AbstractFlightPlanLegWaypointsRecord.uid


waypointRenderer​

protected readonly waypointRenderer: MapWaypointRenderer

Defined in: src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:49

The renderer used to render this record's waypoints.

Inherited from​

AbstractFlightPlanLegWaypointsRecord.waypointRenderer

Accessors​

waypoint​

Get Signature​

get waypoint(): FlightPathWaypoint | null

Defined in: src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:193

This record's flight path waypoint.

Returns​

FlightPathWaypoint | null

Methods​

deregisterWaypoint()​

protected deregisterWaypoint(waypoint, role): void

Defined in: src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:76

Removes a registration for a waypoint from this record's waypoint renderer.

Parameters​

ParameterTypeDescription
waypointWaypointA waypoint.
roleMapWaypointRenderRoleThe role(s) from which the waypoint should be deregistered.

Returns​

void

Inherited from​

AbstractFlightPlanLegWaypointsRecord.deregisterWaypoint


destroy()​

destroy(): void

Defined in: src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:229

Destroys this record. Deregisters all this record's waypoints with this record's waypoint renderer.

Returns​

void

Overrides​

AbstractFlightPlanLegWaypointsRecord.destroy


refresh()​

refresh(isActive): Promise<void>

Defined in: src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:198

Refreshes this record's waypoints, keeping them up to date with this record's associated flight plan leg.

Parameters​

ParameterTypeDescription
isActivebooleanWhether this record's leg is the active leg.

Returns​

Promise<void>

Overrides​

AbstractFlightPlanLegWaypointsRecord.refresh


registerWaypoint()​

protected registerWaypoint(waypoint, role): void

Defined in: src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:67

Registers a waypoint with this record's waypoint renderer.

Parameters​

ParameterTypeDescription
waypointWaypointA waypoint.
roleMapWaypointRenderRoleThe role(s) under which the waypoint should be registered.

Returns​

void

Inherited from​

AbstractFlightPlanLegWaypointsRecord.registerWaypoint