Skip to main content

Class: G3XMapUtils

A utility class for working with G3X Touch maps.

Constructors

constructor

new G3XMapUtils(): G3XMapUtils

Returns

G3XMapUtils

Properties

DEFAULT_NEXRAD_MIN_RANGE_INDEX

Static Readonly DEFAULT_NEXRAD_MIN_RANGE_INDEX: 8

The default minimum nominal range index at which the NEXRAD overlay can be displayed.

Defined in

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

Methods

absoluteTerrainEarthColors

absoluteTerrainEarthColors(): Readonly<MapTerrainColorsDefinition>

Gets the earth colors definition for absolute terrain colors.

Returns

Readonly<MapTerrainColorsDefinition>

The earth colors definition for absolute terrain colors.

Defined in

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


groundTerrainEarthColors

groundTerrainEarthColors(): Readonly<MapTerrainColorsDefinition>

Gets the earth colors definition for on ground relative terrain colors.

Returns

Readonly<MapTerrainColorsDefinition>

The earth colors definition for on ground relative terrain colors.

Defined in

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


mapRanges

mapRanges(units): readonly NumberUnitReadOnly<Distance, Unit<Distance>>[]

Gets the standard map range array.

Parameters

NameTypeDescription
unitsUnitsDistanceSettingModeThe distance units mode for which to get the array.

Returns

readonly NumberUnitReadOnly<Distance, Unit<Distance>>[]

The standard map range array.

Defined in

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


noTerrainEarthColors

noTerrainEarthColors(): Readonly<MapTerrainColorsDefinition>

Gets the earth colors definition for no terrain colors.

Returns

Readonly<MapTerrainColorsDefinition>

The earth colors definition for no terrain colors.

Defined in

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


ownAirplaneIconSize

ownAirplaneIconSize(gduFormat): number

Gets the size of the own airplane icon, in pixels, for a given GDU format.

Parameters

NameTypeDescription
gduFormatGduFormatThe GDU format for which to get the own airplane icon size.

Returns

number

The size of the own airplane icon, in pixels, for the specified GDU format.

Defined in

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


relativeTerrainEarthColors

relativeTerrainEarthColors(): Readonly<MapTerrainColorsDefinition>

Gets the earth colors definition for relative terrain colors.

Returns

Readonly<MapTerrainColorsDefinition>

The earth colors definition for relative terrain colors.

Defined in

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


trafficMapRanges

trafficMapRanges(): readonly NumberUnitReadOnly<Distance, Unit<Distance>>[]

Gets the standard traffic map range array.

Returns

readonly NumberUnitReadOnly<Distance, Unit<Distance>>[]

The standard traffic map range array.

Defined in

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


waypointHighlightLineOptions

waypointHighlightLineOptions(gduFormat): WaypointHighlightLineOptions

Gets waypoint highlight line options for a given GDU format.

Parameters

NameTypeDescription
gduFormatGduFormatThe GDU format for which to get the options.

Returns

WaypointHighlightLineOptions

Waypoint highlight line options for the specified GDU format.

Defined in

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