For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Type Alias WorkerTileParameters
WorkerTileParameters: TileParameters & {
collectResourceTiming?: boolean;
encoding?: TileEncoding;
etag?: string;
maxZoom?: number;
overzoomParameters?: OverzoomParameters;
pixelRatio: number;
promoteId: PromoteIdSpecification;
request?: RequestParameters;
returnDependencies?: boolean;
showCollisionBoxes: boolean;
subdivisionGranularity: SubdivisionGranularitySetting;
tileID: OverscaledTileID;
tileSize: number;
zoom: number;
}
collectResourceTiming?: boolean;
encoding?: TileEncoding;
etag?: string;
maxZoom?: number;
overzoomParameters?: OverzoomParameters;
pixelRatio: number;
promoteId: PromoteIdSpecification;
request?: RequestParameters;
returnDependencies?: boolean;
showCollisionBoxes: boolean;
subdivisionGranularity: SubdivisionGranularitySetting;
tileID: OverscaledTileID;
tileSize: number;
zoom: number;
}
Type Declaration
OptionalcollectResourceTiming?: booleanOptionalencoding?: TileEncodingOptionaletag?: stringOptionalmaxZoom?: numberOptionaloverzoomParameters?: OverzoomParametersProvide this property when the requested tile has a higher canonical Z than source maxzoom. This allows the worker to know that it needs to overzoom from a source tile.
pixelRatio: number
promoteId: PromoteIdSpecification
Optionalrequest?: RequestParametersOptionalreturnDependencies?: booleanshowCollisionBoxes: boolean
subdivisionGranularity: SubdivisionGranularitySetting
tileID: OverscaledTileID
tileSize: number
zoom: number
Parameters that are send when requesting to load a tile to the worker