Skip to main content

Class: MapUserSettings

Utility class for retrieving G3X Touch map user setting managers.

Constructors

constructor

new MapUserSettings(): MapUserSettings

Returns

MapUserSettings

Methods

getAliasedSettingDefs

getAliasedSettingDefs(): readonly UserSettingDefinition<number | boolean | MapOrientationSettingMode | MapDeclutterSettingMode | MapTerrainSettingMode | MapTrafficAlertLevelSettingMode | G3XMapLabelTextSizeSettingMode | G3XMapTrackVectorSettingMode>[]

Gets an array of user setting definitions for a full set of aliased map settings.

Returns

readonly UserSettingDefinition<number | boolean | MapOrientationSettingMode | MapDeclutterSettingMode | MapTerrainSettingMode | MapTrafficAlertLevelSettingMode | G3XMapLabelTextSizeSettingMode | G3XMapTrackVectorSettingMode>[]

An array of user setting definitions for a full set of aliased map settings.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Settings/MapUserSettings.ts:189


getDefaultValues

getDefaultValues(): G3XMapUserSettingTypes

Gets the default values for a full set of aliased map settings.

Returns

G3XMapUserSettingTypes

The default values for a full set of aliased map settings.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Settings/MapUserSettings.ts:122


getMasterManager

getMasterManager(bus): UserSettingManager<G3XMapTrueUserSettingTypes>

Retrieves a manager for all true map settings.

Parameters

NameTypeDescription
busEventBusThe event bus.

Returns

UserSettingManager<G3XMapTrueUserSettingTypes>

A manager for all true map settings.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Settings/MapUserSettings.ts:103


getStandardManager

getStandardManager(bus): UserSettingManager<Omit<MapUserSettingTypes, "mapTrackVectorShow"> & G3XSpecificMapUserSettingTypes>

Retrieves a manager for aliased map settings for a standard map.

Parameters

NameTypeDescription
busEventBusThe event bus.

Returns

UserSettingManager<Omit<MapUserSettingTypes, "mapTrackVectorShow"> & G3XSpecificMapUserSettingTypes>

A manager for aliased map settings for a standard map.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Settings/MapUserSettings.ts:112