Skip to main content

Class: MapTodLabelFactory

Defined in: workingtitle-instruments-epic2/shared/Map/MapTod.ts:37

A waypoint label factory for VNAV TOD waypoints.

Implements​

Constructors​

Constructor​

new MapTodLabelFactory(): MapTodLabelFactory

Returns​

MapTodLabelFactory

Methods​

getLabel()​

getLabel(role, waypoint): MapCullableTextLabel

Defined in: workingtitle-instruments-epic2/shared/Map/MapTod.ts:40

Gets a label for a waypoint.

Parameters​

ParameterTypeDescription
rolenumberThe role that was selected for the waypoint for rendering.
waypointWaypointThe waypoint for which to get a label.

Returns​

MapCullableTextLabel

A waypoint label.

Implementation of​

MapWaypointRendererLabelFactory.getLabel