HierarchyToolDefaults
geovisto-map / HierarchyToolDefaults
Class: HierarchyToolDefaults
Class for default values of HierarchyTool.
Authorβ
VojtΔch MalΓ½
Extendsβ
Implementsβ
Constructorsβ
new HierarchyToolDefaults()β
new HierarchyToolDefaults():
HierarchyToolDefaults
Returnsβ
Inherited fromβ
Propertiesβ
idString?β
protected
optional
idString:string
Inherited fromβ
Sourceβ
model/internal/object/MapObjectDefaults.ts:13
TYPEβ
static
TYPE:string
="geovisto-tool-hierarchy"
Sourceβ
tools/hierarchy/model/internal/tool/HierarchyToolDefaults.ts:13
idβ
static
protected
id:number
Inherited fromβ
Sourceβ
model/internal/object/MapObjectDefaults.ts:12
Methodsβ
generateId()β
protected
generateId():string
It returns identifier which is used when no identifier is specified.
Returnsβ
string
Inherited fromβ
Sourceβ
model/internal/object/MapObjectDefaults.ts:54
getConfig()β
getConfig():
IMapToolConfig
It returns default config if no config is given.
Returnsβ
Implementation ofβ
IHierarchyToolDefaults
.getConfig
Overridesβ
Sourceβ
tools/hierarchy/model/internal/tool/HierarchyToolDefaults.ts:38
getDataManager()β
getDataManager():
IMapDataManager
It returns default map data manager.
Returnsβ
Inherited fromβ
MapToolDefaults
.getDataManager
Sourceβ
model/internal/tool/MapToolDefaults.ts:20
getGeoDataManager()β
getGeoDataManager(
geoDataArray
):IGeoDataManager
It returns default geo data manager.
Parametersβ
β’ geoDataArray: undefined
| IGeoData
[]
Returnsβ
Inherited fromβ
MapToolDefaults
.getGeoDataManager
Sourceβ
model/internal/tool/MapToolDefaults.ts:27
getIcon()β
getIcon():
string
It returns the icon of the tool.
Returnsβ
string
Implementation ofβ
IHierarchyToolDefaults
.getIcon
Overridesβ
Sourceβ
tools/hierarchy/model/internal/tool/HierarchyToolDefaults.ts:34
getId()β
getId():
string
It returns identifier which is used when no identifier is specified.
Returnsβ
string
Implementation ofβ
Inherited fromβ
Sourceβ
model/internal/object/MapObjectDefaults.ts:44
getLabel()β
getLabel():
string
It returns the label of the tool.
Returnsβ
string
Implementation ofβ
IHierarchyToolDefaults
.getLabel
Overridesβ
Sourceβ
tools/hierarchy/model/internal/tool/HierarchyToolDefaults.ts:30
getProps()β
getProps():
IMapObjectProps
It returns default props if no props are given.
Returnsβ
Implementation ofβ
IHierarchyToolDefaults
.getProps
Inherited fromβ
Sourceβ
model/internal/object/MapObjectDefaults.ts:18
getType()β
getType():
string
It returns a unique type string of the map object.
Returnsβ
string
Implementation ofβ
IHierarchyToolDefaults
.getType
Overridesβ
Sourceβ
tools/hierarchy/model/internal/tool/HierarchyToolDefaults.ts:15
isEnabled()β
isEnabled():
boolean
By default, the tool is disabled.
Returnsβ
boolean
Implementation ofβ
IHierarchyToolDefaults
.isEnabled
Overridesβ
Sourceβ
tools/hierarchy/model/internal/tool/HierarchyToolDefaults.ts:22
isSingleton()β
isSingleton():
boolean
It returns a logical value whether the tool type is singleton.
Returnsβ
boolean
Implementation ofβ
IHierarchyToolDefaults
.isSingleton
Overridesβ
Sourceβ
tools/hierarchy/model/internal/tool/HierarchyToolDefaults.ts:26