Interface VectorLayer

Old spec tracks basic vector data

interface VectorLayer {
    description?: string;
    fields: Record<string, string>;
    id: string;
    maxzoom?: number;
    minzoom?: number;
    [key: string]: unknown;
}

Indexable

  • [key: string]: unknown

    Allow additional properties

Properties

description?: string

Description of the layer

fields: Record<string, string>

Field metadata for the layer.

id: string

Unique identifier of the layer

maxzoom?: number

Maximum zoom level for the layer

minzoom?: number

Minimum zoom level for the layer