Cadenza JS
    Preparing search index...

    Interface CommonEditGeometryOptions

    Common options for the initialization of the geometry editor.

    interface CommonEditGeometryOptions {
        additionalLayers?: LayerDefinition[];
        disabledUiFeatures?: UiFeature[];
        extentStrategy?: ExtentStrategy;
        filter?: FilterVariables;
        hideLegend?: boolean;
        minScale?: number;
        operationMode?: OperationMode;
        signal?: AbortSignal;
        snapping?: SnappingOptions;
        useMapSrs?: boolean;
    }
    Index

    Properties

    additionalLayers?: LayerDefinition[]

    Layer definitions to be imported and shown in the background, as a basis for the drawing. IMPORTANT: The Cadenza referenced with cadenzaClient must be configured to support the import of GeoJSON, and the (system) privileges of the corresponding user must also be set in such a way that the import of GeoJSON is possible.

    disabledUiFeatures?: UiFeature[]

    Cadenza UI features to disable

    extentStrategy?: ExtentStrategy

    Defines the initial map extent; If not given, Cadenza's default logic is used.

    Filter variables

    hideLegend?: boolean

    Whether the legend should be hidden initially. Default is true.

    minScale?: number

    The minimum scale where the user should work on. A warning is shown when the map is zoomed out above the threshold.

    operationMode?: OperationMode

    The mode in which a workbook should be operated

    signal?: AbortSignal

    A signal to abort the iframe loading

    snapping?: SnappingOptions

    Passing these options enables snapping

    useMapSrs?: boolean

    Whether the coordinates specified in other parameters are specified in the map's SRS and the created geometry should use the map's SRS (otherwise EPSG:4326 is assumed)