Skip to main content

Class: MapUserSettings

Utility class for retrieving G3000 map user setting managers.

Constructors

constructor

new MapUserSettings(): MapUserSettings

Returns

MapUserSettings

Methods

getAliasedSettingDefs

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

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

Returns

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

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

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Settings/MapUserSettings.ts:203


getDefaultValues

getDefaultValues(): G3000MapUserSettingTypes

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

Returns

G3000MapUserSettingTypes

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

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Settings/MapUserSettings.ts:153


getDisplayPaneManager

getDisplayPaneManager(bus, index): UserSettingManager<Omit<MapUserSettingTypes, G3000MapDelegatedUserSettingNames> & G3000SpecificMapUserSettingTypes & MapUserSettingTypes>

Retrieves a manager for aliased map settings for a single display pane.

Parameters

NameTypeDescription
busEventBusThe event bus.
indexControllableDisplayPaneIndexThe index of the display pane.

Returns

UserSettingManager<Omit<MapUserSettingTypes, G3000MapDelegatedUserSettingNames> & G3000SpecificMapUserSettingTypes & MapUserSettingTypes>

A manager for aliased map settings for the specified display pane.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Settings/MapUserSettings.ts:131


getMasterManager

getMasterManager(bus): UserSettingManager<MapAllUserSettingTypes>

Retrieves a manager for all true map settings.

Parameters

NameTypeDescription
busEventBusThe event bus.

Returns

UserSettingManager<MapAllUserSettingTypes>

A manager for all true map settings.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Settings/MapUserSettings.ts:114


getPfdManager

getPfdManager(bus, index): UserSettingManager<Omit<MapUserSettingTypes, G3000MapDelegatedUserSettingNames> & G3000SpecificMapUserSettingTypes & MapUserSettingTypes>

Retrieves a manager for aliased map settings for a PFD.

Parameters

NameTypeDescription
busEventBusThe event bus.
indexPfdIndexThe index of the PFD.

Returns

UserSettingManager<Omit<MapUserSettingTypes, G3000MapDelegatedUserSettingNames> & G3000SpecificMapUserSettingTypes & MapUserSettingTypes>

A manager for aliased map settings for the specified PFD.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Settings/MapUserSettings.ts:143