Georeferencing API
    Preparing search index...

    Interface MapBinding

    Live connection between one controller and one host map, created by a MapAdapter.

    A binding owns only the layers, markers and interactions it adds. Optional members are capabilities: editors hide controls whose method is absent.

    interface MapBinding {
        cancelDrawing(): void;
        capture?(): Promise<MapCapture>;
        detach(): void;
        finishDrawing?(): void;
        fitOverlay(): void;
        navigateHistory?(direction: -1 | 1): void;
        resize?(): void;
    }
    Index
    • Remove every owned layer, interaction and listener and abort reference requests. Idempotent. The host map, its layers and its view are preserved.

      Returns void

    • Step through recorded map views: -1 goes back, 1 goes forward.

      Parameters

      • direction: -1 | 1

      Returns void