Skip to main content

Class: MapTerrainWxSettingCompatManager

Defined in: src/garminsdk/components/map/MapTerrainWxSettingCompatManager.ts:17

Manages settings controlling the display of map relative terrain and weather (datalink and/or weather radar) overlays such that the two are never active at the same time.

Constructors

Constructor

new MapTerrainWxSettingCompatManager(settingManager): MapTerrainWxSettingCompatManager

Defined in: src/garminsdk/components/map/MapTerrainWxSettingCompatManager.ts:32

Constructor.

Parameters

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

Returns

MapTerrainWxSettingCompatManager

Methods

destroy()

destroy(): void

Defined in: src/garminsdk/components/map/MapTerrainWxSettingCompatManager.ts:75

Destroys this manager.

Returns

void


init()

init(): void

Defined in: src/garminsdk/components/map/MapTerrainWxSettingCompatManager.ts:44

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.