Georeferencing API
    Preparing search index...
    • Read the current map view's bounds, CRS and resolution as a search selection.

      Parameters

      • map: Map

        Host map with a visible, nonzero size and a CRS that has a code.

      • layers: string[]

        Eligible provider IDs selected by the host.

      Returns ReferenceSelection

      View extent in the map CRS's projected XY units and units per CSS pixel; no pixels are captured. Hosts must show/confirm the actual selection.

      INPUT for a CRS without a code, such as L.CRS.Simple.