Skip to main content

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

ParameterTypeDescription
airportAirportFacilityThe parent airport of the runway for which to get a waypoint.
runwayOneWayRunwayThe runway for which to get a waypoint.

Returns

MapRunwayLabelWaypoint

A waypoint.


getCache()

static getCache(): MapRunwayLabelWaypointCache

Defined in: src/garminsdk/components/map/MapRunwayLabelWaypointCache.ts:50

Gets a MapRunwayOutlineWaypointCache instance.

Returns

MapRunwayLabelWaypointCache

A MapRunwayOutlineWaypointCache instance.