Class: G3XMapWaypointStyles
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/Map/G3XMapWaypointStyles.ts:29
A utility class for generating G3X Touch map waypoint styles.
Constructors
Constructor
new G3XMapWaypointStyles():
G3XMapWaypointStyles
Returns
G3XMapWaypointStyles
Methods
flightPlanIconStyles()
static
flightPlanIconStyles(active
,gduFormat
,basePriority
): (waypoint
) =>MapWaypointIconStyles
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/Map/G3XMapWaypointStyles.ts:319
Creates a function which retrieves G3X Touch map icon styles for flight plan waypoints.
Parameters
Parameter | Type | Description |
---|---|---|
active | boolean | Whether to retrieve styles for active flight plan waypoints. |
gduFormat | GduFormat | The format of the map's parent GDU. |
basePriority | number | The base icon render priority. Icon priorities are guaranteed to fall in the range [basePriority, basePriority + 1) . |
Returns
A function which retrieves G3X Touch map icon styles for flight plan waypoints.
(
waypoint
):MapWaypointIconStyles
Parameters
Parameter | Type |
---|---|
waypoint | Waypoint |
Returns
MapWaypointIconStyles
flightPlanLabelStyles()
static
flightPlanLabelStyles(active
,gduFormat
,basePriority
): (waypoint
) =>MapWaypointLabelStyles
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/Map/G3XMapWaypointStyles.ts:384
Creates a function which retrieves G3X Touch map label styles for flight plan waypoints.
Parameters
Parameter | Type | Description |
---|---|---|
active | boolean | Whether to retrieve styles for active flight plan waypoints. |
gduFormat | GduFormat | The format of the map's parent GDU. |
basePriority | number | The base label render priority. Label priorities are guaranteed to fall in the range [basePriority, basePriority + 1) . |
Returns
A function which retrieves G3X Touch map label styles for flight plan waypoints.
(
waypoint
):MapWaypointLabelStyles
Parameters
Parameter | Type |
---|---|
waypoint | Waypoint |
Returns
MapWaypointLabelStyles
highlightIconStyles()
static
highlightIconStyles(gduFormat
,basePriority
): (waypoint
) =>MapWaypointIconHighlightStyles
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/Map/G3XMapWaypointStyles.ts:507
Creates a function which retrieves G3X Touch map icon styles for highlighted waypoints.
Parameters
Parameter | Type | Description |
---|---|---|
gduFormat | GduFormat | The format of the map's parent GDU. |
basePriority | number | The base icon render priority. Icon priorities are guaranteed to fall in the range [basePriority, basePriority + 1) . |
Returns
A function which retrieves G3X Touch map icon styles for highlighted waypoints.
(
waypoint
):MapWaypointIconHighlightStyles
Parameters
Parameter | Type |
---|---|
waypoint | Waypoint |
Returns
MapWaypointIconHighlightStyles
highlightLabelStyles()
static
highlightLabelStyles(gduFormat
,basePriority
): (waypoint
) =>MapWaypointLabelStyles
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/Map/G3XMapWaypointStyles.ts:600
Creates a function which retrieves G3X Touch map label styles for highlighted waypoints.
Parameters
Parameter | Type | Description |
---|---|---|
gduFormat | GduFormat | The format of the map's parent GDU. |
basePriority | number | The base label render priority. Label priorities are guaranteed to fall in the range [basePriority, basePriority + 1) . |
Returns
A function which retrieves G3X Touch map label styles for highlighted waypoints.
(
waypoint
):MapWaypointLabelStyles
Parameters
Parameter | Type |
---|---|
waypoint | Waypoint |
Returns
MapWaypointLabelStyles
normalIconStyles()
static
normalIconStyles(gduFormat
,basePriority
): (waypoint
) =>MapWaypointIconStyles
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/Map/G3XMapWaypointStyles.ts:58
Creates a function which retrieves G3X Touch map icon styles for normal waypoints.
Parameters
Parameter | Type | Description |
---|---|---|
gduFormat | GduFormat | The format of the map's parent GDU. |
basePriority | number | The base icon render priority. Icon priorities are guaranteed to fall in the range [basePriority, basePriority + 1) . |
Returns
A function which retrieves G3X Touch map icon styles for normal waypoints.
(
waypoint
):MapWaypointIconStyles
Parameters
Parameter | Type |
---|---|
waypoint | Waypoint |
Returns
MapWaypointIconStyles
normalLabelStyles()
static
normalLabelStyles(gduFormat
,basePriority
,airportLargeTextSize
,airportMediumTextSize
,airportSmallTextSize
,vorTextSize
,ndbTextSize
,intTextSize
,userTextSize
):G3XMapWaypointLabelStyleFuncDef
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/Map/G3XMapWaypointStyles.ts:119
Creates a function which retrieves G3X Touch map label styles for normal waypoints.
Parameters
Parameter | Type | Description |
---|---|---|
gduFormat | GduFormat | The format of the map's parent GDU. |
basePriority | number | The base label render priority. Label priorities are guaranteed to fall in the range [basePriority, basePriority + 1) . |
airportLargeTextSize | Subscribable <MapLabelTextSizeMode > | The text size mode with which to render large airport labels. |
airportMediumTextSize | Subscribable <MapLabelTextSizeMode > | The text size mode with which to render medium airport labels. |
airportSmallTextSize | Subscribable <MapLabelTextSizeMode > | The text size mode with which to render small airport labels. |
vorTextSize | Subscribable <MapLabelTextSizeMode > | The text size mode with which to render VOR labels. |
ndbTextSize | Subscribable <MapLabelTextSizeMode > | The text size mode with which to render NDB labels. |
intTextSize | Subscribable <MapLabelTextSizeMode > | The text size mode with which to render intersection labels. |
userTextSize | Subscribable <MapLabelTextSizeMode > | The text size mode with which to render user waypoint labels. |
Returns
G3XMapWaypointLabelStyleFuncDef
A function which retrieves G3X Touch map label styles for normal waypoints.
runwayOutlineIconStyles()
static
runwayOutlineIconStyles(basePriority
): (waypoint
) =>MapRunwayOutlineIconStyles
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/Map/G3XMapWaypointStyles.ts:264
Creates a function which retrieves G3X Touch map icon styles for runway outline waypoints.
Parameters
Parameter | Type | Description |
---|---|---|
basePriority | number | The base icon render priority. Icon priorities are guaranteed to fall in the range [basePriority, basePriority + 1) . |
Returns
A function which retrieves G3X Touch map icon styles for normal waypoints.
(
waypoint
):MapRunwayOutlineIconStyles
Parameters
Parameter | Type |
---|---|
waypoint | MapRunwayOutlineWaypoint |
Returns
MapRunwayOutlineIconStyles
vnavIconStyles()
static
vnavIconStyles(gduFormat
,basePriority
): (waypoint
) =>MapWaypointIconStyles
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/Map/G3XMapWaypointStyles.ts:694
Creates a function which retrieves G3X Touch map icon styles for VNAV waypoints.
Parameters
Parameter | Type | Description |
---|---|---|
gduFormat | GduFormat | The format of the map's parent GDU. |
basePriority | number | The base icon render priority. Icon priorities are guaranteed to fall in the range [basePriority, basePriority + 1) . |
Returns
A function which retrieves G3X Touch map icon styles for VNAV waypoints.
(
waypoint
):MapWaypointIconStyles
Parameters
Parameter | Type |
---|---|
waypoint | Waypoint |
Returns
MapWaypointIconStyles
vnavLabelStyles()
static
vnavLabelStyles(gduFormat
,basePriority
): (waypoint
) =>MapWaypointLabelStyles
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/Map/G3XMapWaypointStyles.ts:710
Creates a function which retrieves G3X Touch map label styles for VNAV waypoints.
Parameters
Parameter | Type | Description |
---|---|---|
gduFormat | GduFormat | The format of the map's parent GDU. |
basePriority | number | The base label render priority. Label priorities are guaranteed to fall in the range [basePriority, basePriority + 1) . |
Returns
A function which retrieves G3X Touch map label styles for VNAV waypoints.
(
waypoint
):MapWaypointLabelStyles
Parameters
Parameter | Type |
---|---|
waypoint | Waypoint |
Returns
MapWaypointLabelStyles