Skip to main content

Interface: FlightPlanLegWaypointsRecord

A record of waypoints associated with a flight plan leg. Each record is responsible for keeping its waypoints up to date with any relevant changes to its associated leg and registering its waypoints with a waypoint renderer.

Implemented by

Properties

leg

Readonly leg: LegDefinition

The flight plan leg associated with this record.

Defined in

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

Methods

destroy

destroy(): void

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

Returns

void

Defined in

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


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>

Defined in

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