GeoLeaf Core API - v3.19.0
    Preparing search index...

    Interface LayerFeatureDiff

    A change to ONE already-present feature, addressed by its stable id.

    interface LayerFeatureDiff {
        id: string | number;
        newGeometry?: Geometry;
        removeAllProperties?: boolean;
        removeProperties?: readonly string[];
        addOrUpdateProperties?: readonly LayerFeaturePropertyEntry[];
    }
    Index
    id: string | number

    Stable feature id — the same id space setFeatureState targets.

    newGeometry?: Geometry

    Replacement geometry, when the feature moved or was reshaped.

    removeAllProperties?: boolean

    Drops every property before the additions below are applied.

    removeProperties?: readonly string[]

    Property keys to drop.

    addOrUpdateProperties?: readonly LayerFeaturePropertyEntry[]

    Properties to set or overwrite.