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()
staticflightPlanIconStyles(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
flightPlanLabelStyles()
staticflightPlanLabelStyles(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
highlightIconStyles()
statichighlightIconStyles(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()
statichighlightLabelStyles(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
normalIconStyles()
staticnormalIconStyles(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
normalLabelStyles()
staticnormalLabelStyles(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()
staticrunwayOutlineIconStyles(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
vnavIconStyles()
staticvnavIconStyles(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
vnavLabelStyles()
staticvnavLabelStyles(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 |