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.
Map ArcGIS-shaped snapping options to the contract
SnappingConfig.distancemaps to pixel tolerance;featureSourcesmap to per-source enablement keyed bysource.id(falling back to a duck-typedlayer.id/layer.sourceId);featureEnabled: falsedisables every listed source. Vertex and edge candidates are enabled — matching ArcGIS 2D snapping, which always resolves both.