Class: MapTodLabelFactory
Defined in: workingtitle-instruments-wt21/shared/Map/MapTod.ts:31
A waypoint label factory for VNAV waypoints.
Implements
Constructors
Constructor
new MapTodLabelFactory():
MapTodLabelFactory
Returns
MapTodLabelFactory
Methods
getLabel()
getLabel(
role,waypoint):MapCullableTextLabel
Defined in: workingtitle-instruments-wt21/shared/Map/MapTod.ts:34
Gets a label for a waypoint.
Parameters
| Parameter | Type | Description |
|---|---|---|
role | number | The role that was selected for the waypoint for rendering. |
waypoint | Waypoint | A waypoint. |
Returns
a waypoint label.