Georeferencing API
    Preparing search index...

    Function subscribeBinding

    • Subscribe a map binding's render function to a controller without error feedback loops.

      update runs immediately and after every snapshot change. It may push recoverable per-item errors into the supplied list or throw. The first error is reported through the controller once, without re-entering update; a persisting failure is reported again only after a later edit has cleared the error.

      Parameters

      • controller: GeoreferencerController

        Editor store to observe.

      • update: (errors: unknown[]) => void

        Render the current snapshot into the host map.

      Returns { sync(): void; unsubscribe(): void }

      sync to rerun the update manually and unsubscribe to stop observing.