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

    The vectorTiles config block on a layer definition.

    interface VtConfig {
        enabled?: boolean;
        tilesUrl?: string;
        tilesDirectory?: string;
        layerName?: string;
        minZoom?: number;
        maxZoom?: number;
        maxNativeZoom?: number;
        scheme?: string;
        bounds?: number[];
        interactive?: boolean;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown
    Index

    Properties

    enabled?: boolean
    tilesUrl?: string

    Absolute or relative tile-URL template.

    tilesDirectory?: string

    Directory name holding {z}/{x}/{y}.pbf tiles when no explicit URL.

    layerName?: string

    Source-layer name inside the MVT (falls back to def.id).

    minZoom?: number
    maxZoom?: number
    maxNativeZoom?: number

    Max native zoom served by the source (MapLibre maxzoom).

    scheme?: string

    Tile grid scheme — "tms" (y-up) or default XYZ.

    bounds?: number[]

    Source bounds [w, s, e, n].

    interactive?: boolean

    When false, popups/tooltips are not bound.