@maplibre/native-ffi
    Preparing search index...

    Interface StyleLayerInfo

    One style layer, borrowed for a completion callback.

    See mln_style_layer_info in the C API reference.

    interface StyleLayerInfo {
        id: string;
        maxZoom: number;
        minZoom: number;
        sourceId?: string;
        sourceLayer?: string;
        type: string;
        visibility: StyleLayerVisibility;
    }
    Index
    id: string

    Layer ID.

    maxZoom: number

    Highest zoom at which the layer draws; INFINITY with no upper bound.

    minZoom: number

    Lowest zoom at which the layer draws; -INFINITY with no lower bound.

    sourceId?: string

    Source ID. Empty for a layer type that takes no source.

    sourceLayer?: string

    Source-layer ID. Empty when the layer sets none.

    type: string

    The style-spec layer type string.

    One of mln_style_layer_visibility.