Remove a single feature. Returns the removed feature input, if any.
Resolve a pointer against this index. See resolveSnapCandidate for the deterministic ordering contract.
Optionalconfig: Partial<SnappingConfig>Replace every indexed feature for a source.
Insert or replace a single feature. Returns the previous feature input (id + geometry) when one was indexed, so optimistic edits can restore it.
Uniform packed-grid spatial index over snap sources.
Mutations mark the grid dirty; it is rebuilt lazily on the next query. Feature geometries are treated as immutable once handed to the index.