Skip to main content

Class: MapRunwayOutlineWaypointCache

A cache for map runway outline waypoints.

Properties

size

Readonly size: number

The maximum size of this cache.

Defined in

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

Methods

get

get(airport, runway): MapRunwayOutlineWaypoint

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.
runwayAirportRunwayThe runway for which to get a waypoint.

Returns

MapRunwayOutlineWaypoint

A waypoint.

Defined in

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


getCache

getCache(): MapRunwayOutlineWaypointCache

Gets a MapRunwayOutlineWaypointCache instance.

Returns

MapRunwayOutlineWaypointCache

A MapRunwayOutlineWaypointCache instance.

Defined in

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