HierarchyToolManager
geovisto-map / HierarchyToolManager
Class: HierarchyToolManager
Manager of hierarchy domains.
Authorβ
VojtΔch MalΓ½
Implementsβ
Constructorsβ
new HierarchyToolManager()β
new HierarchyToolManager():
HierarchyToolManager
Returnsβ
Sourceβ
tools/hierarchy/model/internal/tool/HierarchyToolManager.ts:13
Propertiesβ
hierarchyDomainsβ
private
hierarchyDomains:HierarchyDomain
[]
Sourceβ
tools/hierarchy/model/internal/tool/HierarchyToolManager.ts:11
Methodsβ
getAggregationStatus()β
getAggregationStatus(
name
):boolean
Get aggregation flag of certain domain. If true, data set of domain should be agregated from lowest children.
Parametersβ
β’ name: string
Name of domain.
Returnsβ
boolean
Implementation ofβ
IHierarchyToolManager
.getAggregationStatus
Sourceβ
tools/hierarchy/model/internal/tool/HierarchyToolManager.ts:142
getDefinedDomains()β
getDefinedDomains():
string
[]
Return array of domain names defined in manager.
Returnsβ
string
[]
Implementation ofβ
IHierarchyToolManager
.getDefinedDomains
Sourceβ
tools/hierarchy/model/internal/tool/HierarchyToolManager.ts:123
getDomainsWithNodes()β
getDomainsWithNodes():
Map
\<string
, [string
,string
|boolean
,number
][]>
Generate map of basic node information.
Returnsβ
Map
\<string
, [string
, string
| boolean
, number
][]>
Map where Map<Domain_name, [] of tuples in which [Node_ID, Parent_ID, Zoom]
Implementation ofβ
IHierarchyToolManager
.getDomainsWithNodes
Sourceβ
tools/hierarchy/model/internal/tool/HierarchyToolManager.ts:17
getIdsForEveryDefinedDomainByZoomLevel()β
getIdsForEveryDefinedDomainByZoomLevel(
zoomLev
):Map
\<string
,string
[]>
Return array of acitve IDs for each defined domain in manager, by their ply zoom level.
Parametersβ
β’ zoomLev: number
Level of zoom
Returnsβ
Map
\<string
, string
[]>
Implementation ofβ
IHierarchyToolManager
.getIdsForEveryDefinedDomainByZoomLevel
Sourceβ
tools/hierarchy/model/internal/tool/HierarchyToolManager.ts:131
getLevelByLevel()β
getLevelByLevel(
domainName
,level
):undefined
|HierarchyZoomLevel
Returns zoom level object based on domain name and level of ply.
Parametersβ
β’ domainName: string
Name of requested domain
β’ level: number
Zoom level
Returnsβ
undefined
| HierarchyZoomLevel
Hiererchy zoomLevel or undefined.
Implementation ofβ
IHierarchyToolManager
.getLevelByLevel
Sourceβ
tools/hierarchy/model/internal/tool/HierarchyToolManager.ts:110
initialize()β
initialize(
hierarchies
):void
Parametersβ
β’ hierarchies: IHierarchyConfig
[]
Returnsβ
void
Implementation ofβ
IHierarchyToolManager
.initialize
Sourceβ
tools/hierarchy/model/internal/tool/HierarchyToolManager.ts:26