Skip to main content

Interface: MapWaypointRendererLabelFactory<W>

A waypoint label factory.

Type parameters

NameType
Wextends MapWaypoint

Implemented by

Methods

getLabel

getLabel<T>(role, waypoint): null | MapCullableTextLabel

Gets a label for a waypoint.

Type parameters

NameType
Textends MapWaypoint

Parameters

NameTypeDescription
rolenumberThe role that was selected for the waypoint for rendering.
waypointTA waypoint.

Returns

null | MapCullableTextLabel

a waypoint label.

Defined in

src/sdk/components/map/MapWaypointRenderer.ts:32