Interface PmtilesVectorLayerInfo

One vector layer advertised in a vector archive's TileJSON-style metadata (vector_layers). Present only for mvt archives; raster archives report an empty PmtilesArchiveDescription.vectorLayers list.

interface PmtilesVectorLayerInfo {
    description?: string;
    fields?: Readonly<Record<string, string>>;
    id: string;
    maxZoom?: number;
    minZoom?: number;
}

Properties

description?: string

Optional human description carried in the archive metadata.

fields?: Readonly<Record<string, string>>

Optional field-name → type map advertised in the metadata.

id: string

Layer id — the MapLibre source-layer name to reference in a style.

maxZoom?: number

Optional per-layer maximum zoom advertised in the metadata.

minZoom?: number

Optional per-layer minimum zoom advertised in the metadata.