IHierarchyToolDomain
geovisto-map / IHierarchyToolDomain
Interface: IHierarchyToolDomain
Interface for one domain hierarchy definiton. Used by HierarchyToolManager.
Authorβ
VojtΔch MalΓ½
Methodsβ
addToLevel()β
addToLevel(
zoom
,id
):void
Add ID to hierarchy ply based on zoom level.
Parametersβ
β’ zoom: number
β’ id: string
| number
Returnsβ
void
Sourceβ
tools/hierarchy/model/types/tool/IHierarchyToolDomain.ts:27
getHierarchyMap()β
getHierarchyMap():
Map
\<string
,string
[]>
Returns hierarchy Map.
Returnsβ
Map
\<string
, string
[]>
Sourceβ
tools/hierarchy/model/types/tool/IHierarchyToolDomain.ts:32
getLevelByZoom()β
getLevelByZoom(
zoom
):undefined
|IHierarchyToolZoomLevel
Returns zoom ply based on requested zoom level number. Undefined if that zoom level doesn't exists.
Parametersβ
β’ zoom: number
Returnsβ
undefined
| IHierarchyToolZoomLevel
Sourceβ
tools/hierarchy/model/types/tool/IHierarchyToolDomain.ts:20
getName()β
getName():
string
Get name of Domain.
Returnsβ
string
Sourceβ
tools/hierarchy/model/types/tool/IHierarchyToolDomain.ts:53
getNodes()β
getNodes(): [
string
,string
|boolean
,number
][]
Return node array where: [childID, parentID or True if parent, ZoomLevel of change]
Returnsβ
[string
, string
| boolean
, number
][]
Sourceβ
tools/hierarchy/model/types/tool/IHierarchyToolDomain.ts:13
getParentChild()β
getParentChild(): [
string
,string
][]
Returnsβ
[string
, string
][]
Sourceβ
tools/hierarchy/model/types/tool/IHierarchyToolDomain.ts:46
setParentChild()β
setParentChild(
parentChild
):void
Sets new parent child arrry of domain.
Parametersβ
β’ parentChild: [string
, string
][]
Returnsβ
void
Sourceβ
tools/hierarchy/model/types/tool/IHierarchyToolDomain.ts:38
setParentChildMap()β
setParentChildMap(
map
):void
Sets new parent child map of domain.
Parametersβ
β’ map: Map
\<string
, string
[]>
Returnsβ
void
Sourceβ
tools/hierarchy/model/types/tool/IHierarchyToolDomain.ts:44
setZoomLevels()β
setZoomLevels(
zoomLevels
):void
Parametersβ
β’ zoomLevels: number
[]
Returnsβ
void