Skip to main content

Class: G3XMapTerrainWxSettingCompatManager

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/Map/G3XMapTerrainWxSettingCompatManager.ts:19

Manages settings controlling the display of map relative terrain and weather overlays such that the two are never active at the same time.

Constructors

Constructor

new G3XMapTerrainWxSettingCompatManager(settingManager): G3XMapTerrainWxSettingCompatManager

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/Map/G3XMapTerrainWxSettingCompatManager.ts:34

Constructor.

Parameters

ParameterTypeDescription
settingManagerUserSettingManager<Partial<G3XMapTerrainWxUserSettings>>A setting manager containing the user settings controlling the display of relative terrain and weather overlays for this manager to manage.

Returns

G3XMapTerrainWxSettingCompatManager

Methods

destroy()

destroy(): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/Map/G3XMapTerrainWxSettingCompatManager.ts:77

Destroys this manager.

Returns

void


init()

init(): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/Map/G3XMapTerrainWxSettingCompatManager.ts:46

Initializes this manager. Once initialized, this manager will automatically control its managed settings such that the relative terrain and weather overlays are never active at the same time.

Returns

void

Throws

Error if this manager has been destroyed.