Interface QueryTileEndpointDescriptor

Tile endpoint hints. urlTemplate wins over tilejsonUrl and baseUrl.

interface QueryTileEndpointDescriptor {
    baseUrl?: string;
    path?: string;
    tilejsonUrl?: string;
    urlTemplate?: string;
}

Properties

baseUrl?: string

Query-tile service root used when constructing a URL template. The canonical server route under this root is sources/{sourceId}/tiles/{z}/{x}/{y}.mvt.

path?: string

Relative tile path under baseUrl. Defaults to the canonical source tile route.

tilejsonUrl?: string

Server-hosted TileJSON URL, if discovery is already available.

urlTemplate?: string

URL template containing {z}, {x}, and {y} placeholders.