Skip to main content

Interface: MapRunwayDesignationImageCache

Defined in: src/garminsdk/components/map/MapRunwayDesignationImageCache.ts:4

A cache of images for runway designations.

Methods

getDesignator()

getDesignator(designator): undefined | HTMLImageElement

Defined in: src/garminsdk/components/map/MapRunwayDesignationImageCache.ts:17

Retrieves an image from this cache for a runway designator.

Parameters

ParameterTypeDescription
designatorRunwayDesignatorThe runway designator for which to retrieve an image.

Returns

undefined | HTMLImageElement

The image for the specified runway designator, or undefined if one could not be found.


getNumber()

getNumber(num): undefined | HTMLImageElement

Defined in: src/garminsdk/components/map/MapRunwayDesignationImageCache.ts:10

Retrieves an image from this cache for a runway number.

Parameters

ParameterTypeDescription
numnumberThe runway number for which to retrieve an image.

Returns

undefined | HTMLImageElement

The image for the specified runway number, or undefined if one could not be found.