Skip to main content

IInfoToolDefaults

geovisto-mapReadme | API


geovisto-map / IInfoToolDefaults

Interface: IInfoToolDefaults

This interface declares functions which return the default state values.

Author

Jiri Hynek

Author

Tomas Koscielniak

Extends

Methods

getConfig()

getConfig(): IInfoToolConfig

It returns default config if no config is given.

Returns

IInfoToolConfig

Overrides

IMapToolDefaults.getConfig

Source

tools/info/model/types/tool/IInfoToolDefaults.ts:20


getIcon()

getIcon(): string

It returns the icon of the tool.

Returns

string

Inherited from

IMapToolDefaults.getIcon

Source

model/types/tool/IMapToolDefaults.ts:36


getId()

getId(): string

It returns identifier which is used when no identifier is specified.

Returns

string

Inherited from

IMapToolDefaults.getId

Source

model/types/object/IMapObjectDefaults.ts:32


getInfoDataManager()

getInfoDataManager(): IInfoDataManager

It returns default info data manager.

Returns

IInfoDataManager

Source

tools/info/model/types/tool/IInfoToolDefaults.ts:25


getLabel()

getLabel(): string

It returns the label of the tool.

Returns

string

Inherited from

IMapToolDefaults.getLabel

Source

model/types/tool/IMapToolDefaults.ts:31


getMarkdown()

getMarkdown(): IInfoData

Returns

IInfoData

Source

tools/info/model/types/tool/IInfoToolDefaults.ts:27


getProps()

getProps(): IMapObjectProps

It returns default props if no props are given.

Returns

IMapObjectProps

Inherited from

IMapToolDefaults.getProps

Source

model/types/object/IMapObjectDefaults.ts:17


getType()

getType(): string

It returns a unique type string of the map object.

Returns

string

Inherited from

IMapToolDefaults.getType

Source

model/types/object/IMapObjectDefaults.ts:27


isEnabled()

isEnabled(): boolean

By default, the tool is enabled.

Returns

boolean

Inherited from

IMapToolDefaults.isEnabled

Source

model/types/tool/IMapToolDefaults.ts:26


isSingleton()

isSingleton(): boolean

It returns a logical value whether the tool type is singleton.

Returns

boolean

Inherited from

IMapToolDefaults.isSingleton

Source

model/types/tool/IMapToolDefaults.ts:19