Interface: MapWaypointRendererLabelFactory<W>
A waypoint label factory.
Type parameters
Name | Type |
---|---|
W | extends MapWaypoint |
Implemented by
Methods
getLabel
▸ getLabel<T
>(role
, waypoint
): null
| MapCullableTextLabel
Gets a label 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
| MapCullableTextLabel
a waypoint label.
Defined in
src/sdk/components/map/MapWaypointRenderer.ts:32