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
Name | Type | Description |
---|---|---|
airport | AirportFacility | The parent airport of the runway for which to get a waypoint. |
runway | AirportRunway | The runway for which to get a waypoint. |
Returns
A waypoint.
Defined in
src/garminsdk/components/map/MapRunwayOutlineWaypointCache.ts:25
getCache
▸ getCache(): MapRunwayOutlineWaypointCache
Gets a MapRunwayOutlineWaypointCache instance.
Returns
A MapRunwayOutlineWaypointCache instance.
Defined in
src/garminsdk/components/map/MapRunwayOutlineWaypointCache.ts:50