Georeferencing API
    Preparing search index...
    • Create a provider for one WMS source or selected, already-loaded vector layers.

      WMS uses the configured server layers/styles/parameters and exact-extent requests. Vectors/WFS clone current features/styles into an isolated north-up map with pixel ratio 1; feature loaders are not run. Wait for host loading before acquisition, and use deterministic style callbacks independent of mutable state. Editor overlays and unrelated layers are excluded. Temporary maps, canvases and cloned layers are cleaned up after acquisition; host layers remain borrowed.

      Parameters

      • references: OpenLayersReference[]

        Configured eligible layers with opaque IDs and revisions.

      • Optionalrequest: (url: string, signal?: AbortSignal) => Promise<Blob>

        Optional authenticated WMS request callback; defaults to fetch.

      Returns ReferenceProvider

      Browser-only pixel provider; matching itself can also run in Node.

      Acquisition rejects with SOURCE for unsupported/mixed renderers, unready vectors, CORS/readback failures, unaligned vector bounds or rendering timeout (15 seconds). Vector captures above 8 MP/8192 pixels per side reject with BUDGET. Abort cancels capture. Other renderers require a host provider.