Skip to main content

Class: MapTocLabelFactory

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

A waypoint label factory for VNAV TOC waypoint.

Implements

Constructors

Constructor

new MapTocLabelFactory(): MapTocLabelFactory

Returns

MapTocLabelFactory

Methods

getLabel()

getLabel(role, waypoint): MapCullableTextLabel

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

Gets a label for a waypoint.

Parameters

ParameterTypeDescription
rolenumberThe role that was selected for the waypoint for rendering.
waypointWaypointA waypoint.

Returns

MapCullableTextLabel

a waypoint label.

Implementation of

MapWaypointRendererLabelFactory.getLabel