Skip to main content

Class: G3XMapWaypointStyles

A utility class for generating G3X Touch map waypoint styles.

Constructors

constructor

new G3XMapWaypointStyles(): G3XMapWaypointStyles

Returns

G3XMapWaypointStyles

Methods

flightPlanIconStyles

flightPlanIconStyles(active, gduFormat, basePriority): (waypoint: Waypoint) => MapWaypointIconStyles

Creates a function which retrieves G3X Touch map icon styles for flight plan waypoints.

Parameters

NameTypeDescription
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

fn

A function which retrieves G3X Touch map icon styles for flight plan waypoints.

▸ (waypoint): MapWaypointIconStyles

Parameters
NameType
waypointWaypoint
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

NameTypeDescription
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

fn

A function which retrieves G3X Touch map label styles for flight plan waypoints.

▸ (waypoint): MapWaypointLabelStyles

Parameters
NameType
waypointWaypoint
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

NameTypeDescription
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

fn

A function which retrieves G3X Touch map icon styles for highlighted waypoints.

▸ (waypoint): MapWaypointIconHighlightStyles

Parameters
NameType
waypointWaypoint
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

NameTypeDescription
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

fn

A function which retrieves G3X Touch map label styles for highlighted waypoints.

▸ (waypoint): MapWaypointLabelStyles

Parameters
NameType
waypointWaypoint
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

NameTypeDescription
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

fn

A function which retrieves G3X Touch map icon styles for normal waypoints.

▸ (waypoint): MapWaypointIconStyles

Parameters
NameType
waypointWaypoint
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

NameTypeDescription
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.

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

NameTypeDescription
basePrioritynumberThe 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
NameType
waypointMapRunwayOutlineWaypoint
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

NameTypeDescription
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

fn

A function which retrieves G3X Touch map icon styles for VNAV waypoints.

▸ (waypoint): MapWaypointIconStyles

Parameters
NameType
waypointWaypoint
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

NameTypeDescription
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

fn

A function which retrieves G3X Touch map label styles for VNAV waypoints.

▸ (waypoint): MapWaypointLabelStyles

Parameters
NameType
waypointWaypoint
Returns

MapWaypointLabelStyles

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/Map/G3XMapWaypointStyles.ts:710