Skip to main content

Class: MapRunwayOutlineWaypointCache

Defined in: src/garminsdk/components/map/MapRunwayOutlineWaypointCache.ts:7

A cache for map runway outline waypoints.

Properties​

size​

readonly size: number

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

The maximum size of this cache.

Methods​

get()​

get(airport, runway): MapRunwayOutlineWaypoint

Defined in: src/garminsdk/components/map/MapRunwayOutlineWaypointCache.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.
runwayAirportRunwayThe runway for which to get a waypoint.

Returns​

MapRunwayOutlineWaypoint

A waypoint.


getCache()​

static getCache(): MapRunwayOutlineWaypointCache

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

Gets a MapRunwayOutlineWaypointCache instance.

Returns​

MapRunwayOutlineWaypointCache

A MapRunwayOutlineWaypointCache instance.