IThemesToolDefaults
geovisto-map / IThemesToolDefaults
Interface: IThemesToolDefaults
This interface declares functions which return the default state values.
Author
Jiri Hynek
Extends
Methods
getConfig()
getConfig():
IThemesToolConfig
It returns default config if no config is given.
Returns
Overrides
Source
tools/themes/model/types/tool/IThemesToolDefaults.ts:20
getIcon()
getIcon():
string
It returns the icon of the tool.
Returns
string
Inherited from
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
Source
model/types/object/IMapObjectDefaults.ts:32
getLabel()
getLabel():
string
It returns the label of the tool.
Returns
string
Inherited from
Source
model/types/tool/IMapToolDefaults.ts:31
getProps()
getProps():
IMapObjectProps
It returns default props if no props are given.
Returns
Inherited from
Source
model/types/object/IMapObjectDefaults.ts:17
getTheme()
getTheme(
themesManager
):IMapTheme
It returns default theme.
Parameters
• themesManager: undefined
| IMapThemesManager
Returns
Source
tools/themes/model/types/tool/IThemesToolDefaults.ts:30
getThemesManager()
getThemesManager():
IMapThemesManager
It returns default themes manager.
Returns
Source
tools/themes/model/types/tool/IThemesToolDefaults.ts:25
getType()
getType():
string
It returns a unique type string of the map object.
Returns
string
Inherited from
Source
model/types/object/IMapObjectDefaults.ts:27
isEnabled()
isEnabled():
boolean
By default, the tool is enabled.
Returns
boolean
Inherited from
Source
model/types/tool/IMapToolDefaults.ts:26
isSingleton()
isSingleton():
boolean
It returns a logical value whether the tool type is singleton.
Returns
boolean