Class: StyleLayerEditor

vcs.vcm.util.editor.StyleLayerEditor

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
silent boolean

if called silently, does not call callbacks for onSelect listeners

setAltitudeMode(mode){Promise} inherited

Name Type Description
mode vcs.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{vcs.vcm.util.editor.AbstractEditor.Options}

Properties:
Name Type Argument Default Description
noDefaultIcons boolean <optional>
false
allowCustomIcons boolean <optional>
false
storeCustomIcons boolean <optional>
false
iconLibraries Array.<string> | undefined

urls to icon library JSON definitions

icons Array.<vcs.vcm.util.style.VectorStyleItem.Image> | undefined

urls to icons themselves