Georeferencing API
    Preparing search index...

    Host-controlled worker and WASM asset locations for browser deployments.

    interface BrowserMatcherOptions {
        backend?: MatchingBackend;
        wasmUrl?: string | Record<BackendVariant, string>;
        workerFactory?: () => Worker;
    }

    Hierarchy (View Summary)

    Index
    backend?: MatchingBackend

    Defaults to auto: check Wasm SIMD support lazily, otherwise use scalar. Explicit simd rejects with BACKEND if unsupported. Asset errors do not trigger fallback. Dispose/create a matcher to change the preference.

    wasmUrl?: string | Record<BackendVariant, string>

    Override packaged Wasm locations: absolute URLs in browsers, absolute local paths in Node. A single location requires an explicit scalar/simd backend and must belong to that build. For auto, supply both variant locations. Omit to load the packaged Wasm beside the selected generated JS loader.

    workerFactory?: () => Worker

    Create a dedicated module worker running the packaged /worker entry. Defaults to a worker resolved relative to this module. The matcher owns and terminates it on abort/disposal; the factory must return a new worker when called again after cancellation. Do not return a shared application worker.