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
Parameter | Type | Description |
---|---|---|
waypoint | Waypoint | The waypoint for which to retrieve the image. |
Returns
undefined
| HTMLImageElement
The image for the specified waypoint, or undefined
if one could not be found.