Interface DefineQueryTileSourceOptions<T>

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

Type Parameters

  • T = Record<string, unknown>

Hierarchy

  • Omit<QueryTileSourceDescriptor<T>,
        | "kind"
        | "sourceId"
        | "source"
        | "analyticsSource"
        | "protocol">
    • DefineQueryTileSourceOptions

Properties

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

Runtime / MapLibre source id for this dynamic tiled source.

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

Protocol override when source is a bare source id.

query?: Omit<Query<T>, "signal">
source:
    | string
    | AnalyticsSourceDescriptor
    | SourceDescriptor
    | Source<T>

Source id, source descriptor, or live Source handle to tile.

sourceId?: string

Override the canonical source id inferred from source.

tilejson?: QueryTileJson

Server-generated TileJSON metadata, if already available.

tileMatrixSet?: string
tileSize?: number