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

    Interface DeclaredStyleIds

    Engine layers and sources placed on the map OUTSIDE the adapter — by a capability or a plugin that talks to the engine directly — as declared through IMapAdapter.declareOwnedStyleIds(), so that a basemap switch replacing the style carries them.

    interface DeclaredStyleIds {
        layerIds?: readonly string[];
        sourceIds?: readonly string[];
    }
    Index
    layerIds?: readonly string[]

    Layer ids to carry. They keep the order they have in the live style, above the basemap.

    sourceIds?: readonly string[]

    Source ids to carry with them. A source a carried layer reads is carried anyway; declaring it says so outright.