Skip to main content

Interface: FlightPlanLegWaypointsRecord

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

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.

Properties​

leg​

readonly leg: LegDefinition

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

The flight plan leg associated with this record.

Methods​

destroy()​

destroy(): void

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

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

Returns​

void


refresh()​

refresh(isActive): Promise<void>

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

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>