SDK JS
    Preparing search index...

    Structural contract of anything that can receive the shared drape — the MapLibre layers implement it by forwarding to their renderer (stashing while the renderer isn't built yet).

    interface DrapeReceiver {
        id: string;
        setSharedDrape(shared: SharedDrape | null): void;
    }
    Index

    Properties

    Methods

    Properties

    id: string

    The receiver's MapLibre style layer id — anchors the "layers above" drape-set.

    Methods

    • Adopt (or clear, with null) the shared drape atlas.

      Parameters

      • shared: SharedDrape | null

      Returns void