Interface MapLibreVectorSourceSpec

Structural shape of a MapLibre VectorSourceSpecification for tiled vector data. Declared locally so the SDK does not take a runtime or type dependency on maplibre-gl (a peer); the object is assignable to MapLibre's VectorSourceSpecification.

interface MapLibreVectorSourceSpec {
    maxzoom?: number;
    minzoom?: number;
    scheme?: "xyz";
    tiles: string[];
    type: "vector";
}

Properties

maxzoom?: number
minzoom?: number
scheme
tiles: string[]
type