Skip to main content

ConnectionLayerToolThemeChangeAdapter

geovisto-mapReadme | API


geovisto-map / ConnectionLayerToolThemeChangeAdapter

Class: ConnectionLayerToolThemeChangeAdapter

This class provides Theme tool change event adapter.

Author

Jiri Hynek

Constructors

new ConnectionLayerToolThemeChangeAdapter()

new ConnectionLayerToolThemeChangeAdapter(tool): ConnectionLayerToolThemeChangeAdapter

Parameters

tool: IConnectionLayerTool\<IConnectionLayerToolProps, IConnectionLayerToolDefaults, IConnectionLayerToolState\<IConnectionLayerToolProps, IConnectionLayerToolDefaults, IConnectionLayerToolConfig, object, object>, IConnectionLayerToolConfig, IMapToolInitProps\<IConnectionLayerToolConfig>>

Returns

ConnectionLayerToolThemeChangeAdapter

Source

tools/layers/connection/model/internal/adapters/ThemeChangeAdapter.ts:27

Properties

themesToolAPI?

private optional themesToolAPI: IThemesToolAPI

Source

tools/layers/connection/model/internal/adapters/ThemeChangeAdapter.ts:23


tool

private tool: IConnectionLayerTool\<IConnectionLayerToolProps, IConnectionLayerToolDefaults, IConnectionLayerToolState\<IConnectionLayerToolProps, IConnectionLayerToolDefaults, IConnectionLayerToolConfig, object, object>, IConnectionLayerToolConfig, IMapToolInitProps\<IConnectionLayerToolConfig>>

Source

tools/layers/connection/model/internal/adapters/ThemeChangeAdapter.ts:25

Methods

getThemesTool()

private getThemesTool(): undefined | IThemesToolAPI

Help function which acquires and returns the themes tool if available.

Returns

undefined | IThemesToolAPI

Source

tools/layers/connection/model/internal/adapters/ThemeChangeAdapter.ts:34


handleEvent()

handleEvent(event): void

This function is called when a custom event is invoked.

Parameters

event: IMapEvent\<IMapObject\<IMapObjectProps, IMapObjectDefaults\<IMapObjectProps, IMapObjectConfig>, IMapObjectState\<IMapObjectProps, IMapObjectDefaults\<IMapObjectProps, IMapObjectConfig>, IMapObjectConfig, IMapObjectInitProps\<IMapObjectConfig>>, IMapObjectConfig, IMapObjectInitProps\<IMapObjectConfig>>>

Returns

void

Source

tools/layers/connection/model/internal/adapters/ThemeChangeAdapter.ts:49