Class: MapRunwayLabelWaypointCache
Defined in: src/garminsdk/components/map/MapRunwayLabelWaypointCache.ts:7
A cache for map runway label waypoints.
Properties
size
readonly
size:number
Defined in: src/garminsdk/components/map/MapRunwayLabelWaypointCache.ts:16
The maximum size of this cache.
Methods
get()
get(
airport
,runway
):MapRunwayLabelWaypoint
Defined in: src/garminsdk/components/map/MapRunwayLabelWaypointCache.ts:25
Gets a waypoint from this cache for a specific runway. If one does not exist, a new waypoint will be created.
Parameters
Parameter | Type | Description |
---|---|---|
airport | AirportFacility | The parent airport of the runway for which to get a waypoint. |
runway | OneWayRunway | The runway for which to get a waypoint. |
Returns
A waypoint.
getCache()
static
getCache():MapRunwayLabelWaypointCache
Defined in: src/garminsdk/components/map/MapRunwayLabelWaypointCache.ts:50
Gets a MapRunwayOutlineWaypointCache instance.
Returns
MapRunwayLabelWaypointCache
A MapRunwayOutlineWaypointCache instance.