• Map ArcGIS-shaped snapping options to the contract SnappingConfig.

    distance maps to pixel tolerance; featureSources map to per-source enablement keyed by source.id (falling back to a duck-typed layer.id / layer.sourceId); featureEnabled: false disables every listed source. Vertex and edge candidates are enabled — matching ArcGIS 2D snapping, which always resolves both.

    Parameters

    Returns SnappingConfig