Skip to main content

HierarchyZoomLevel

geovisto-map β€’ Readme | API


geovisto-map / HierarchyZoomLevel

Class: HierarchyZoomLevel

Holds information about active objects in one zoom level.

Author​

VojtΔ›ch MalΓ½

Implements​

Constructors​

new HierarchyZoomLevel()​

new HierarchyZoomLevel(zoomLevel): HierarchyZoomLevel

Parameters​

β€’ zoomLevel: number

Returns​

HierarchyZoomLevel

Source​

tools/hierarchy/model/internal/tool/HierarchyZoomLevel.ts:11

Properties​

IDs​

private IDs: (string | number)[] = []

Source​

tools/hierarchy/model/internal/tool/HierarchyZoomLevel.ts:9


zoomLevel​

private zoomLevel: number

Source​

tools/hierarchy/model/internal/tool/HierarchyZoomLevel.ts:8

Methods​

addID()​

addID(id): void

Adds ID of object in ply.

Parameters​

β€’ id: string | number

Returns​

void

Implementation of​

IHierarchyToolZoomLevel.addID

Source​

tools/hierarchy/model/internal/tool/HierarchyZoomLevel.ts:19


getStringifiedIds()​

getStringifiedIds(): string[]

Returns all IDs in string format.

Returns​

string[]

Implementation of​

IHierarchyToolZoomLevel.getStringifiedIds

Source​

tools/hierarchy/model/internal/tool/HierarchyZoomLevel.ts:23


getZoomLevel()​

getZoomLevel(): number

Retruns zoom level of this ply.

Returns​

number

Implementation of​

IHierarchyToolZoomLevel.getZoomLevel

Source​

tools/hierarchy/model/internal/tool/HierarchyZoomLevel.ts:15