Skip to main content

Class: MapRunwayLabelWaypointCache

A cache for map runway label waypoints.

Properties

size

Readonly size: number

The maximum size of this cache.

Defined in

src/garminsdk/components/map/MapRunwayLabelWaypointCache.ts:16

Methods

get

get(airport, runway): MapRunwayLabelWaypoint

Gets a waypoint from this cache for a specific runway. If one does not exist, a new waypoint will be created.

Parameters

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

Returns

MapRunwayLabelWaypoint

A waypoint.

Defined in

src/garminsdk/components/map/MapRunwayLabelWaypointCache.ts:25


getCache

getCache(): MapRunwayLabelWaypointCache

Gets a MapRunwayOutlineWaypointCache instance.

Returns

MapRunwayLabelWaypointCache

A MapRunwayOutlineWaypointCache instance.

Defined in

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