new vcs.vcm.util.editor.StyleLayerEditor(options)
| Name | Type | Description |
|---|---|---|
options |
vcs.vcm.util.editor.StyleLayerEditor.Options |
Extends
Methods
-
clearSelectionSet(silent) inherited
-
clears the current selection
Name Type Description silentboolean if called silently, does not call callbacks for onSelect listeners
-
setAltitudeMode(mode){Promise} inherited
-
Name Type Description modevcs.vcm.util.editor.AltitudeMode -
switchToDynamic(){Promise} inherited
-
Switch the current selection of cesiumFeatures to dynamic features
Type Definitions
-
vcs.vcm.util.editor.StyleLayerEditor.IconLibraryJSON{Array.<(string|olx.style.IconStyle)>}
-
The icon library is read by the StyleLayerEditor. All its entries should point to images relative to the file as a URL (do not use windows backslash syntax)
Examples
['icon.png', 'lib/otherIcon.png'][{ src: 'icon.png', anchor: [0, 0] }] -
vcs.vcm.util.editor.StyleLayerEditor.Options
-
Properties:
Name Type Argument Default Description noDefaultIconsboolean <optional>
false allowCustomIconsboolean <optional>
false storeCustomIconsboolean <optional>
false iconLibrariesArray.<string> | undefined urls to icon library JSON definitions
iconsArray.<vcs.vcm.util.style.VectorStyleItem.Image> | undefined urls to icons themselves
virtualcityMAP 3.6