@honua/sdk-js
    Preparing search index...

    Interface TerraDrawSketchFinishEventExperimental

    A finished terra-draw sketch as applied (or not) to the workflow model.

    interface TerraDrawSketchFinishEvent {
        action: string;
        applied: boolean;
        featureId: TerraDrawSketchFeatureId;
        geometry: Record<string, unknown> | null;
        mode: string;
        tool?: EditSketchTool;
    }
    Index

    Properties

    action: string

    The terra-draw finishing action ("draw", "dragFeature", ...).

    applied: boolean

    Whether the model accepted the geometry (mapped + supported tool).

    geometry: Record<string, unknown> | null

    Geometry handed to the model (after transformGeometry).

    mode: string

    The terra-draw mode that produced the feature.

    The sketch tool the finished mode mapped to, when one exists.