Interface: MapWaypointRendererIconFactory<W>
A waypoint icon factory.
Type parameters
Name | Type |
---|---|
W | extends MapWaypoint |
Implemented by
Methods
getIcon
▸ getIcon<T
>(role
, waypoint
): null
| MapWaypointIcon
<T
>
Gets an icon for a waypoint.
Type parameters
Name | Type |
---|---|
T | extends MapWaypoint |
Parameters
Name | Type | Description |
---|---|---|
role | number | The role that was selected for the waypoint for rendering. |
waypoint | T | A waypoint. |
Returns
null
| MapWaypointIcon
<T
>
a waypoint icon.
Defined in
src/sdk/components/map/MapWaypointRenderer.ts:19