Skip to main content

Interface: WaypointIconImageCache

Defined in: src/garminsdk/graphics/img/WaypointIconImageCache.ts:6

A cache of images for waypoint icons.

Methods

getForWaypoint()

getForWaypoint(waypoint): undefined | HTMLImageElement

Defined in: src/garminsdk/graphics/img/WaypointIconImageCache.ts:12

Retrieves an image for a waypoint.

Parameters

ParameterTypeDescription
waypointWaypointThe waypoint for which to retrieve the image.

Returns

undefined | HTMLImageElement

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