new vcs.vcm.widgets.legend.PluginItem(options)
| Name | Type | Description |
|---|---|---|
options |
vcs.vcm.widgets.legend.PluginItem.Options |
Extends
Members
-
className{string}
-
class Name of the Object
-
config{Object}
-
The options passed to
-
id{string}
-
The unique id of the given item
-
level{number}
-
The nesting level of this tree item
-
name{string}
-
The components name
-
plugin{string}
-
The associated plugin
-
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) inherited
-
Activates the tree item
Name Type Description activeboolean the state to activate to, false will deactivate
ignoreViewpointboolean if there is a viewpoint set, it is not activated
-
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
virtualcityMAP 3.6