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

    Interface StyleSourceInfo

    Complete metadata of one style source, borrowed for a completion callback.

    See mln_style_source_info in the C API reference.

    interface StyleSourceInfo {
        attribution?: string;
        bounds?: LatLngBounds;
        id: string;
        isVolatile: boolean;
        rasterEncoding?: StyleRasterDemEncoding;
        tilejson?: StyleSourceTileInfo;
        tileSize?: number;
        type: StyleSourceType;
        url?: string;
        vectorEncoding?: StyleVectorTileEncoding;
    }
    Index
    attribution?: string

    Attribution string, when the source sets one. It may be empty.

    bounds?: LatLngBounds

    Geographic bounds, when inline TileJSON sets them.

    id: string

    Source ID.

    isVolatile: boolean

    Whether the source is marked volatile.

    rasterEncoding?: StyleRasterDemEncoding

    DEM raster encoding, when inline TileJSON sets one.

    Inline TileJSON metadata, when the source was defined with it.

    tileSize?: number

    Tile size in pixels, for a tile source.

    One of mln_style_source_type.

    url?: string

    URL that the source loads from, when it has one.

    vectorEncoding?: StyleVectorTileEncoding

    Vector tile encoding, for a vector source.