Class: AbstractEditor

vcs.vcm.util.editor.AbstractEditor

Subclasses

Type Definitions

vcs.vcm.util.editor.AbstractEditor.EditorOptions{Object}

Properties:
Name Type Description
hideExport boolean | undefined

do not show import/export

hideAltitudeMode boolean | undefined

do not show buttons to change the default altitude mode

hideHelp boolean | undefined
hideTitle boolean | undefined

do not show the explaining title

simpleStyleUi boolean | undefined
altitudeModeToggleInParent boolean | undefined

altitudeModeToggle is visible in Parent

denyDelete boolean | undefined

do not allow the user to delete features

noKeyEvents boolean | undefined

do not attach a listener for key events

showFeatureEditorUiInEditMode boolean | undefined
denySwitch boolean | undefined

do not show switching between static and dynamic features

showFeatureEditorUiInEditMode boolean | undefined
advancedSettings boolean | undefined
showStyleSelector boolean | undefined
showPattern boolean | undefined
importOptions vcs.vcm.util.editor.AbstractEditor.ImportOptions | undefined

vcs.vcm.util.editor.AbstractEditor.ImportOptions{Object}

Properties:
Name Type Description
allowedGeometries Array.<string> | undefined

the string representation of ol.geom.GeometryType which is allowed to be imported

singleDrawingId string | undefined

only import one feature and give it this id (used with replaceId)

hideSelectionButtons boolean | undefined

do not show selection/all radio buttons

writeId boolean | undefined

whether to write the features ID while exporting

vcs.vcm.util.editor.AbstractEditor.Options{Object}

Properties:
Name Type Description
scratchLayer vcs.vcm.layer.Vector
state vcs.vcm.util.editor.AbstractEditor.State
parent vcs.vcm.util.editor.AbstractEditor

vcs.vcm.util.editor.AbstractEditor.State{Object}

Properties:
Name Type Description
mode vcs.vcm.util.editor.Mode
altitudeMode vcs.vcm.util.editor.AltitudeMode
defaultAltitudeMode vcs.vcm.util.editor.AltitudeMode
allowedModes Array.<string>
allowedGeometries Array.<string>
onlyAllowTranslation boolean

only allows translation in geometry editors

selectedFeatures number
selectedCesiumFeatures number
layerName string | null
selectedFeatureId string | number | null
active boolean
featureTypeSymbol symbol
exclusiveId string
dedicatedFeatureStyle boolean

new features receive a clone of the layer style on creation, true if there is a styleLayerEditor

transformGeometryOnMove boolean
activeMap string | null

the className of the map for which this editor is activated

isFeatureStore boolean
canSwitchToDynamic boolean
isDeclarativeStyle boolean

whether the currently selected style is declarative or not

isLayerStyle boolean

whether the current style item is the layers style or dedicated

classificationType number
defaultClassificationType number