Class: G3XMapWaypointStyles
A utility class for generating G3X Touch map waypoint styles.
Constructors
constructor
• new G3XMapWaypointStyles(): G3XMapWaypointStyles
Returns
Methods
flightPlanIconStyles
▸ flightPlanIconStyles(active
, gduFormat
, basePriority
): (waypoint
: Waypoint
) => MapWaypointIconStyles
Creates a function which retrieves G3X Touch map icon styles for flight plan waypoints.
Parameters
Name | 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
fn
A function which retrieves G3X Touch map icon styles for flight plan waypoints.
▸ (waypoint
): MapWaypointIconStyles
Parameters
Name | Type |
---|---|
waypoint | Waypoint |
Returns
MapWaypointIconStyles
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/Map/G3XMapWaypointStyles.ts:319
flightPlanLabelStyles
▸ flightPlanLabelStyles(active
, gduFormat
, basePriority
): (waypoint
: Waypoint
) => MapWaypointLabelStyles
Creates a function which retrieves G3X Touch map label styles for flight plan waypoints.
Parameters
Name | 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
fn
A function which retrieves G3X Touch map label styles for flight plan waypoints.
▸ (waypoint
): MapWaypointLabelStyles
Parameters
Name | Type |
---|---|
waypoint | Waypoint |
Returns
MapWaypointLabelStyles
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/Map/G3XMapWaypointStyles.ts:384
highlightIconStyles
▸ highlightIconStyles(gduFormat
, basePriority
): (waypoint
: Waypoint
) => MapWaypointIconHighlightStyles
Creates a function which retrieves G3X Touch map icon styles for highlighted waypoints.
Parameters
Name | 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
fn
A function which retrieves G3X Touch map icon styles for highlighted waypoints.
▸ (waypoint
): MapWaypointIconHighlightStyles
Parameters
Name | Type |
---|---|
waypoint | Waypoint |
Returns
MapWaypointIconHighlightStyles
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/Map/G3XMapWaypointStyles.ts:507
highlightLabelStyles
▸ highlightLabelStyles(gduFormat
, basePriority
): (waypoint
: Waypoint
) => MapWaypointLabelStyles
Creates a function which retrieves G3X Touch map label styles for highlighted waypoints.
Parameters
Name | 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
fn
A function which retrieves G3X Touch map label styles for highlighted waypoints.
▸ (waypoint
): MapWaypointLabelStyles
Parameters
Name | Type |
---|---|
waypoint | Waypoint |
Returns
MapWaypointLabelStyles
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/Map/G3XMapWaypointStyles.ts:600
normalIconStyles
▸ normalIconStyles(gduFormat
, basePriority
): (waypoint
: Waypoint
) => MapWaypointIconStyles
Creates a function which retrieves G3X Touch map icon styles for normal waypoints.
Parameters
Name | 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
fn
A function which retrieves G3X Touch map icon styles for normal waypoints.
▸ (waypoint
): MapWaypointIconStyles
Parameters
Name | Type |
---|---|
waypoint | Waypoint |
Returns
MapWaypointIconStyles
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/Map/G3XMapWaypointStyles.ts:58
normalLabelStyles
▸ normalLabelStyles(gduFormat
, basePriority
, airportLargeTextSize
, airportMediumTextSize
, airportSmallTextSize
, vorTextSize
, ndbTextSize
, intTextSize
, userTextSize
): G3XMapWaypointLabelStyleFuncDef
Creates a function which retrieves G3X Touch map label styles for normal waypoints.
Parameters
Name | 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.
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/Map/G3XMapWaypointStyles.ts:119
runwayOutlineIconStyles
▸ runwayOutlineIconStyles(basePriority
): (waypoint
: MapRunwayOutlineWaypoint
) => MapRunwayOutlineIconStyles
Creates a function which retrieves G3X Touch map icon styles for runway outline waypoints.
Parameters
Name | Type | Description |
---|---|---|
basePriority | number | The base icon render priority. Icon priorities are guaranteed to fall in the range [basePriority, basePriority + 1) . |
Returns
fn
A function which retrieves G3X Touch map icon styles for normal waypoints.
▸ (waypoint
): MapRunwayOutlineIconStyles
Parameters
Name | Type |
---|---|
waypoint | MapRunwayOutlineWaypoint |
Returns
MapRunwayOutlineIconStyles
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/Map/G3XMapWaypointStyles.ts:264
vnavIconStyles
▸ vnavIconStyles(gduFormat
, basePriority
): (waypoint
: Waypoint
) => MapWaypointIconStyles
Creates a function which retrieves G3X Touch map icon styles for VNAV waypoints.
Parameters
Name | 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
fn
A function which retrieves G3X Touch map icon styles for VNAV waypoints.
▸ (waypoint
): MapWaypointIconStyles
Parameters
Name | Type |
---|---|
waypoint | Waypoint |
Returns
MapWaypointIconStyles
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/Map/G3XMapWaypointStyles.ts:694
vnavLabelStyles
▸ vnavLabelStyles(gduFormat
, basePriority
): (waypoint
: Waypoint
) => MapWaypointLabelStyles
Creates a function which retrieves G3X Touch map label styles for VNAV waypoints.
Parameters
Name | 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
fn
A function which retrieves G3X Touch map label styles for VNAV waypoints.
▸ (waypoint
): MapWaypointLabelStyles
Parameters
Name | Type |
---|---|
waypoint | Waypoint |
Returns
MapWaypointLabelStyles
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/Map/G3XMapWaypointStyles.ts:710