Interface QueryTileSourceDescriptor<T>

interface QueryTileSourceDescriptor<T> {
    analyticsSource?: AnalyticsSourceDescriptor;
    attribution?: string;
    bounds?: readonly [number, number, number, number];
    cache?: QueryTileCachePolicy;
    endpoint?: QueryTileEndpointDescriptor;
    fallback?: QueryTileFallbackPolicy;
    featureIdentity?: QueryTileFeatureIdentityDescriptor;
    format?: QueryTileFormat;
    id: string;
    kind: "query-vector-tile";
    maxzoom?: number;
    metadata?: Readonly<Record<string, unknown>>;
    minzoom?: number;
    projection?: QueryTileProjectionDescriptor;
    protocol?: Protocol;
    query?: Omit<Query<T>, "signal">;
    scheme?: QueryTileScheme;
    source?: SourceDescriptor;
    sourceId: string;
    tilejson?: QueryTileJson;
    tileMatrixSet?: string;
    tileSize?: number;
}

Type Parameters

  • T = Record<string, unknown>

Properties

analyticsSource?: AnalyticsSourceDescriptor

Optional warehouse/indexed analytics descriptor this tiled source is derived from.

attribution?: string
bounds?: readonly [number, number, number, number]
id: string

Runtime / MapLibre source id for this dynamic tiled source.

kind
maxzoom?: number
metadata?: Readonly<Record<string, unknown>>
minzoom?: number
protocol?: Protocol

Protocol override when source is not provided.

query?: Omit<Query<T>, "signal">

Optional canonical source descriptor this tiled source is derived from.

sourceId: string

Canonical source id used by selection, detail lookup, and feature state.

tilejson?: QueryTileJson

Server-generated TileJSON metadata, if already available.

tileMatrixSet?: string
tileSize?: number