Skip to main content

HierarchyToolManager

geovisto-map β€’ Readme | API


geovisto-map / HierarchyToolManager

Class: HierarchyToolManager

Manager of hierarchy domains.

Author​

VojtΔ›ch MalΓ½

Implements​

Constructors​

new HierarchyToolManager()​

new HierarchyToolManager(): HierarchyToolManager

Returns​

HierarchyToolManager

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