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

    Engine-agnostic description of a vector-tile layer to add via IMapAdapter.addVectorTileLayer. Socle B.1 — lets the vector-tiles capability describe what to render without importing MapLibre builders.

    interface VectorTileLayerSpec {
        tileUrl: string;
        sourceLayer: string;
        geometryType: string;
        zIndex?: number;
        source?: {
            minZoom?: number;
            maxNativeZoom?: number;
            scheme?: string;
            bounds?: number[];
        };
        subLayerZoom?: { minZoom?: number; maxZoom?: number };
        style?: VectorTileStyleInput;
    }
    Index
    tileUrl: string

    Full tile URL template (.../{z}/{x}/{y}.pbf).

    sourceLayer: string

    MVT source-layer name to render.

    geometryType: string

    Declared geometry, case-insensitive: any kind the layer schema admits ("point", "polyline", "multipolygon", "fill-extrusion"…), the GeoJSON name of a point, line or polygon type, or "mixed" for a source-layer holding several. A value that names no family draws nothing, and a warning says so.

    zIndex?: number

    Stacking rank among the other layers, GeoJSON included — higher is drawn on top. The layer is inserted under the lowest layer of strictly higher rank, above its equals.

    0
    
    source?: {
        minZoom?: number;
        maxNativeZoom?: number;
        scheme?: string;
        bounds?: number[];
    }

    Vector source bounds.

    subLayerZoom?: { minZoom?: number; maxZoom?: number }

    Per-sub-layer zoom constraints.

    Raw GeoLeaf style — normalised by the adapter.