Skip to main content

IMapConfigManager

geovisto-map • Readme | API


geovisto-map / IMapConfigManager

Interface: IMapConfigManager

The interface declares config used by the map and functions to acquire config items.

Author​

Jiri Hynek

Methods​

export()​

export(mapConfing): Record\<string, unknown>

It provides possibility to transform given config to the original structure.

Parameters​

• mapConfing: IMapConfig

Returns​

Record\<string, unknown>

Source​

model/types/config/IMapConfigManager.ts:38


getMapConfig()​

getMapConfig(): IMapConfig

It returns the map config.

Returns​

IMapConfig

Source​

model/types/config/IMapConfigManager.ts:19


getOriginalConfig()​

getOriginalConfig(): Record\<string, unknown>

It returns the original config.

Returns​

Record\<string, unknown>

Source​

model/types/config/IMapConfigManager.ts:14


getToolConfig()​

getToolConfig(toolId): undefined | IMapToolConfig

It returns the config record for the tool identified by the given tool identifier.

Parameters​

• toolId: string

Returns​

undefined | IMapToolConfig

Source​

model/types/config/IMapConfigManager.ts:31


getToolsConfigs()​

getToolsConfigs(): undefined | IMapToolConfig[]

It returns the list of all config records for the tools.

Returns​

undefined | IMapToolConfig[]

Source​

model/types/config/IMapConfigManager.ts:24