Georeferencing API
    Preparing search index...

    Interface BindingOptions

    Options of the OpenLayers adapter. Keep this object stable: it is read when attaching.

    interface BindingOptions {
        datumGrids?: DatumGrids;
        debounceMs?: number;
        definitions?: Definitions;
        digitizingSnapping?: { drafts?: boolean; references?: boolean };
        geometryTolerancePx?: number;
        initialView?: { crs: string; extent: Extent };
        onReferenceStatus?: (id: string, status: ReferenceLoadStatus) => void;
        references?: readonly Reference[];
    }

    Hierarchy (View Summary)

    Index
    datumGrids?: DatumGrids

    Host-supplied NTv2 buffers registered in this realm; also supply them to the worker engine.

    debounceMs?: number

    Delay before refreshing network references after map navigation, in milliseconds.

    150

    definitions?: Definitions

    Host projection definitions for maps, references and control-point targets.

    digitizingSnapping?: { drafts?: boolean; references?: boolean }

    Opt-in snapping for drawing/modify tools, independently of GCP reference snapping.

    Type Declaration

    • Optionaldrafts?: boolean

      Snap drawings to the editor's other draft features.

      false

    • Optionalreferences?: boolean

      Snap drawings to providers with snapping configured.

      false

    geometryTolerancePx?: number

    Screen-pixel tolerance used when densifying map geometry into longitude/latitude.

    0.25

    initialView?: { crs: string; extent: Extent }

    Optional map framing applied on attachment. It does not georeference the image or constrain queries, drawings or output.

    Type Declaration

    • crs: string

      CRS of the framing extent.

    • extent: Extent

      Initial map framing bounds.

    onReferenceStatus?: (id: string, status: ReferenceLoadStatus) => void

    Observe provider loading/error/completeness feedback; statuses also appear in the controller snapshot.

    references?: readonly Reference[]

    Reference providers with unique IDs, displayed and optionally used for snapping.