Class: FeatureLayerEditor

vcs.vcm.util.editor.FeatureLayerEditor

Extends

Methods

clearSelectionSet(silent) inherited

clears the current selection

Name Type Description
silent boolean

if called silently, does not call callbacks for onSelect listeners

rotate(angle, rotationOptions)

Rotates the selected features around the center of their extent. Either supply an angle or two Cesium.Cartesian2 position from which to determine the rotation angle around the center

Name Type Description
angle number

angle in radians

rotationOptions vcs.vcm.util.editor.FeatureLayerEditor.rotationOptions

scale(dx, dy, scaleOptions)

Scales the selected features from a given extent vertex, defaults to bottom left

Name Type Description
dx number
dy number
scaleOptions vcs.vcm.util.editor.FeatureLayerEditor.scaleOptions

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

translate(dx, dy, translationOptions)

Translates the selected features along the XY axis

Name Type Description
dx number
dy number
translationOptions vcs.vcm.util.editor.FeatureLayerEditor.translationOptions

Type Definitions

vcs.vcm.util.editor.FeatureLayerEditor.heightOptions{vcs.vcm.util.editor.FeatureLayerEditor.transformationOptions}

Properties:
Name Type Description
heightTotal number | undefined
setHeight boolean | undefined

forcefully set the height or extrusion to the specified height

vcs.vcm.util.editor.FeatureLayerEditor.rotationOptions{vcs.vcm.util.editor.FeatureLayerEditor.transformationOptions}

Properties:
Name Type Description
angleTotal number | undefined

vcs.vcm.util.editor.FeatureLayerEditor.scaleOptions{vcs.vcm.util.editor.FeatureLayerEditor.translationOptions}

Properties:
Name Type Description
vertex vcs.vcm.util.editor.Vertex | undefined
maintainAspectRatio boolean | undefined

vcs.vcm.util.editor.FeatureLayerEditor.translationOptions{vcs.vcm.util.editor.FeatureLayerEditor.transformationOptions}

Properties:
Name Type Argument Default Description
toTransform vcs.vcm.util.editor.FeatureLayerEditor.ToTransform | undefined <optional>
vcs.vcm.util.editor.FeatureLayerEditor.ToTransform.BOTH
transformationFinished boolean | undefined
dyTotal number | undefined
dxTotal number | undefined