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

    Interface SnappingOptionsCompat

    ArcGIS SnappingOptions-shaped configuration accepted by the shims.

    interface SnappingOptionsCompat {
        distance?: number;
        enabled?: boolean;
        featureEnabled?: boolean;
        featureSources?: readonly SnappingFeatureSourceCompat[];
        selfEnabled?: boolean;
    }
    Index

    Properties

    distance?: number

    Snap distance in pixels; maps to SnappingConfig.tolerance.

    enabled?: boolean

    Master switch. ArcGIS defaults snapping off.

    false
    
    featureEnabled?: boolean

    Snap to features from featureSources.

    true
    
    featureSources?: readonly SnappingFeatureSourceCompat[]
    selfEnabled?: boolean

    Snap to the geometry being drawn. Stored for parity; self snapping is a runtime concern (index the active sketch source to approximate it).

    true