Class: ProcMapTransitionWaypointRecordManager
Manages transition preview waypoint records.
Constructors
constructor
• new ProcMapTransitionWaypointRecordManager(facLoader
, facWaypointCache
, waypointRenderer
, renderRole
): ProcMapTransitionWaypointRecordManager
Constructor.
Parameters
Name | Type | Description |
---|---|---|
facLoader | FacilityLoader | This manager's facility loader. |
facWaypointCache | FacilityWaypointCache | This manager's facility waypoint cache. |
waypointRenderer | MapWaypointRenderer | This manager's waypoint renderer. |
renderRole | MapWaypointRenderRole | The role(s) under which waypoints should be registered. |
Returns
ProcMapTransitionWaypointRecordManager
Defined in
src/garminsdk/components/map/flightplan/ProcMapTransitionWaypointRecordManager.ts:23
Methods
isBusy
▸ isBusy(): boolean
Checks whether this manager is busy with a waypoint refresh.
Returns
boolean
Whether this manager is busy with a waypoint refresh.
Defined in
src/garminsdk/components/map/flightplan/ProcMapTransitionWaypointRecordManager.ts:35
refreshWaypoints
▸ refreshWaypoints(flightPlan
, repick
, pickPosition?
): Promise
<void
>
Refreshes this manager's waypoint records, keeping them up to date with a specified flight plan.
Parameters
Name | Type | Description |
---|---|---|
flightPlan | null | FlightPlan | A flight plan. |
repick | boolean | Whether 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
>
Defined in
src/garminsdk/components/map/flightplan/ProcMapTransitionWaypointRecordManager.ts:47