GeoLeaf Core API - v3.19.0
    Preparing search index...

    Structural view of a MapLibre GeoJSON source's mutating methods. The registry stores generic Source handles; the adapter narrows to this shape (guarded by typeof source.setData === "function") before replacing layer data.

    interface GeoJSONSourceLike {
        setData(data: unknown): void;
        updateData?(diff: MaplibreSourceDiff): Promise<void>;
        promoteId?: unknown;
    }
    Index
    promoteId?: unknown

    Which feature property the engine promoted to the feature id, when any.

    Read rather than mirrored in the layer registry, and that is deliberate: the source IS the record of this fact, it answers in O(1), and a mirror would drift — transformStyle recreates every source on a basemap switch.