Skip to main content

Class: MapFixInfoIconFactory

Defined in: workingtitle-instruments-wt21/shared/Map/MapTod.ts:73

A waypoint icon factory for fix info waypoints.

Implements

Constructors

Constructor

new MapFixInfoIconFactory(mapStyles, clipPathStream): MapFixInfoIconFactory

Defined in: workingtitle-instruments-wt21/shared/Map/MapTod.ts:79

Creates a new MapTocLabelFactory.

Parameters

ParameterTypeDescription
mapStylesWT21MapStylesThe map styles.
clipPathStreamClippedPathStreamThe clip path stream.

Returns

MapFixInfoIconFactory

Methods

getIcon()

getIcon<T>(role, waypoint): MapWaypointIcon<T>

Defined in: workingtitle-instruments-wt21/shared/Map/MapTod.ts:82

Gets an icon for a waypoint.

Type Parameters

Type Parameter
T extends Waypoint

Parameters

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

Returns

MapWaypointIcon<T>

a waypoint icon.

Implementation of

MapWaypointRendererIconFactory.getIcon