Join us online - 19th of November
Save your spot
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 PreloadTilesForBoundsOptions

PreloadTilesForBoundsOptions: TilePreloadOptions & {
    bounds: LngLatBoundsLike;
    maxZoom: number;
    minZoom: number;
}

Options for preloading all tiles within a geographic bounds across a range of zoom levels.

Type Declaration

  • bounds: LngLatBoundsLike

    The geographic bounds to preload tiles for.

  • maxZoom: number

    Maximum zoom level to preload (inclusive).

  • minZoom: number

    Minimum zoom level to preload (inclusive).

API Key Usage: The number of tiles grows exponentially with zoom level. For example, a city-scale area at zoom 12–15 can result in thousands of tile requests per source. Each request counts against your MapTiler Cloud API key quota.

Was this helpful?