Skip to main content

Class: FlightPathTerminatorWaypointsRecord

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

Hierarchy

Constructors

constructor

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

Constructor.

Parameters

NameTypeDescription
legLegDefinitionThe flight plan leg associated with this record.
waypointRendererMapWaypointRendererThe renderer used to render this record's waypoints.
facLoaderFacilityLoaderThe facility loader used by this waypoint.
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

Defined in

src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:46

Properties

_waypoint

Protected _waypoint: null | FlightPathWaypoint = null

Defined in

src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:175


_waypointLocation

Protected Optional _waypointLocation: GeoPointSubject

Defined in

src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:176


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


id

Protected Readonly id: number

Defined in

src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:173


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 | FlightPathWaypoint

This record's flight path waypoint.

Returns

null | FlightPathWaypoint

Defined in

src/garminsdk/components/map/flightplan/MapFlightPlanWaypointRecord.ts:182

Methods

deregisterWaypoint

deregisterWaypoint(waypoint, role): void

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

Parameters

NameTypeDescription
waypointWaypointA waypoint.
roleMapWaypointRenderRoleThe 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:218


refresh

refresh(isActive): Promise<void>

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

Parameters

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

Returns

Promise<void>

Overrides

AbstractFlightPlanLegWaypointsRecord.refresh

Defined in

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


registerWaypoint

registerWaypoint(waypoint, role): void

Registers a waypoint with this record's waypoint renderer.

Parameters

NameTypeDescription
waypointWaypointA waypoint.
roleMapWaypointRenderRoleThe 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