Extends
Members
-
activeStyleName{string} {null}
-
The name of the style currently active on this item
-
availableStyles{Array.<string>}
-
The named styles available to this layer
-
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 activeboolean ignoreViewpointboolean -
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
Type Definitions
-
vcs.vcm.widgets.legend.LayerItem.Options
-
Properties:
Name Type Description layerNamestring the layer name for which this item manages the state
availableStylesArray.<string> a list of named styles available to this layer
styleObject the options to a declerative style, they will automatically be added to availableStyles
virtualcityMAP 3.6