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

    Interface StyleLayerInfo

    A layer in the map's style.

    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
    maxZoom: number

    The zoom level where the layer stops showing, or infinity when the layer doesn't set one.

    minZoom: number

    The zoom level where the layer starts to show, or negative infinity when the layer doesn't set one.

    sourceId: string
    sourceLayer: string
    type: string

    The layer's [type](https://maplibre.org/maplibre-style-spec/layers/#type), such as fill.