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
| Parameter | Type | Description |
|---|---|---|
mapStyles | WT21MapStyles | The map styles. |
clipPathStream | ClippedPathStream | The 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
| Parameter | Type | Description |
|---|---|---|
role | number | The role that was selected for the waypoint for rendering. |
waypoint | T | A waypoint. |
Returns
a waypoint icon.