Skip to main content

Class: ProcMapTransitionWaypointRecordManager

Defined in: src/garminsdk/components/map/flightplan/ProcMapTransitionWaypointRecordManager.ts:26

Manages transition preview waypoint records.

Constructors

Constructor

new ProcMapTransitionWaypointRecordManager(facLoader, facWaypointCache, waypointRenderer, renderRole, options?): ProcMapTransitionWaypointRecordManager

Defined in: src/garminsdk/components/map/flightplan/ProcMapTransitionWaypointRecordManager.ts:41

Creates a new instance of ProcMapTransitionWaypointRecordManager.

Parameters

ParameterTypeDescription
facLoaderFacilityLoaderThis manager's facility loader.
facWaypointCacheFacilityWaypointCacheThis manager's facility waypoint cache.
waypointRendererMapWaypointRendererThis manager's waypoint renderer.
renderRoleMapWaypointRenderRoleThe role(s) under which waypoints should be registered.
options?Readonly<ProcMapTransitionWaypointRecordManagerOptions>Options with which to configure the manager.

Returns

ProcMapTransitionWaypointRecordManager

Methods

isBusy()

isBusy(): boolean

Defined in: src/garminsdk/components/map/flightplan/ProcMapTransitionWaypointRecordManager.ts:55

Checks whether this manager is busy with a waypoint refresh.

Returns

boolean

Whether this manager is busy with a waypoint refresh.


refreshWaypoints()

refreshWaypoints(flightPlan, repick, pickPosition?): Promise<void>

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

Refreshes this manager's waypoint records, keeping them up to date with a specified flight plan.

Parameters

ParameterTypeDescription
flightPlanFlightPlan | nullA flight plan.
repickbooleanWhether to repick waypoints.
pickPosition?"first" | "last"The position within each transition from which to pick waypoints. Ignored if repick is false. Defaults to first.

Returns

Promise<void>