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 TilePreloadOptions
type TilePreloadOptions = {
maxTiles?: number;
onError?: TilePreloadErrorCallback;
onProgress?: TilePreloadProgressCallback;
}
maxTiles?: number;
onError?: TilePreloadErrorCallback;
onProgress?: TilePreloadProgressCallback;
}
Options shared by all tile preloading APIs.
Remarks
API Key Usage: Tile preloading issues one network request per tile per active source. These requests count against your MapTiler Cloud API key quota. Use
onProgressto monitor consumption and prefer narrow zoom ranges and small bounds where possible.