Skip to main content

IHierarchyToolManager

geovisto-map β€’ Readme | API


geovisto-map / IHierarchyToolManager

Interface: IHierarchyToolManager

Interface for Hierarchy Tool manager. Used only internaly in Hierarchy Tool.

Author​

VojtΔ›ch MalΓ½

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

Source​

tools/hierarchy/model/types/tool/IHierarchyToolManager.ts:46


getDefinedDomains()​

getDefinedDomains(): string[]

Return array of domain names defined in manager.

Returns​

string[]

Source​

tools/hierarchy/model/types/tool/IHierarchyToolManager.ts:18


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]

Source​

tools/hierarchy/model/types/tool/IHierarchyToolManager.ts:24


getIdsForEveryDefinedDomainByZoomLevel()​

getIdsForEveryDefinedDomainByZoomLevel(zoomLevel): Map\<string, string[]>

Return array of acitve IDs for each defined domain in manager, by their ply zoom level.

Parameters​

β€’ zoomLevel: number

Level of zoom

Returns​

Map\<string, string[]>

Source​

tools/hierarchy/model/types/tool/IHierarchyToolManager.ts:39


getLevelByLevel()​

getLevelByLevel(domainName, level): undefined | IHierarchyToolZoomLevel

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 | IHierarchyToolZoomLevel

Hiererchy zoomLevel or undefined.

Source​

tools/hierarchy/model/types/tool/IHierarchyToolManager.ts:32


initialize()​

initialize(hierarchies): void

Parameters​

β€’ hierarchies: IHierarchyConfig[]

Returns​

void

Source​

tools/hierarchy/model/types/tool/IHierarchyToolManager.ts:13