Class: GroupLayerItem

vcs.vcm.widgets.legend.GroupLayerItem

Class representing a leaf node within a tree widget, managing a number of layers If you want the included layers to be exclusive with some other layers, set the exclusive property of only ONE of the included layers

Extends

Members

className{string}

class Name of the Object

id{string}

The unique id of the given item

level{number}

The nesting level of this tree item

state{string}

Loading state of the item: inactive, active (aka loaded and showing), loading or indeterminate

titleObject{Object}

Translateable title object. Where the key represents the local, and the value the translation for example: { en: 'Example', de: 'Beispiel' }

visible{boolean}

Whether the item should be displayed

Methods

activate(active, ignoreViewpoint)

activates this LayerItem

Name Type Description
active boolean
ignoreViewpoint boolean

getViewPoint(){vcs.vcm.util.ViewPoint|null} inherited

returns the viewpoint for this treeitem

Deprecated
  • v3.6

    gotoViewpoint() inherited

    Goes to this tree items viewpoint, if there is one defined