Skip to main content

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

ParameterTypeDescription
activebooleanWhether to retrieve styles for active flight plan waypoints.
gduFormatGduFormatThe format of the map's parent GDU.
basePrioritynumberThe 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
ParameterType
waypointWaypoint
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

ParameterTypeDescription
activebooleanWhether to retrieve styles for active flight plan waypoints.
gduFormatGduFormatThe format of the map's parent GDU.
basePrioritynumberThe 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
ParameterType
waypointWaypoint
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

ParameterTypeDescription
gduFormatGduFormatThe format of the map's parent GDU.
basePrioritynumberThe 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
ParameterType
waypointWaypoint
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

ParameterTypeDescription
gduFormatGduFormatThe format of the map's parent GDU.
basePrioritynumberThe 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
ParameterType
waypointWaypoint
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

ParameterTypeDescription
gduFormatGduFormatThe format of the map's parent GDU.
basePrioritynumberThe 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
ParameterType
waypointWaypoint
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

ParameterTypeDescription
gduFormatGduFormatThe format of the map's parent GDU.
basePrioritynumberThe base label render priority. Label priorities are guaranteed to fall in the range [basePriority, basePriority + 1).
airportLargeTextSizeSubscribable<MapLabelTextSizeMode>The text size mode with which to render large airport labels.
airportMediumTextSizeSubscribable<MapLabelTextSizeMode>The text size mode with which to render medium airport labels.
airportSmallTextSizeSubscribable<MapLabelTextSizeMode>The text size mode with which to render small airport labels.
vorTextSizeSubscribable<MapLabelTextSizeMode>The text size mode with which to render VOR labels.
ndbTextSizeSubscribable<MapLabelTextSizeMode>The text size mode with which to render NDB labels.
intTextSizeSubscribable<MapLabelTextSizeMode>The text size mode with which to render intersection labels.
userTextSizeSubscribable<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

ParameterTypeDescription
basePrioritynumberThe 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
ParameterType
waypointMapRunwayOutlineWaypoint
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

ParameterTypeDescription
gduFormatGduFormatThe format of the map's parent GDU.
basePrioritynumberThe 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
ParameterType
waypointWaypoint
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

ParameterTypeDescription
gduFormatGduFormatThe format of the map's parent GDU.
basePrioritynumberThe 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
ParameterType
waypointWaypoint
Returns

MapWaypointLabelStyles