---
title: "WithTilePreload | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Type Alias WithTilePreload<T>

WithTilePreload: [T](#t) & { experimental\_preload?: [TilePreloadOptions](https://docs.maptiler.com/sdk-js/api-reference/types/TilePreloadOptions/) }

Adds optional experimental tile preloading to camera animation method options.

#### Type Parameters

-   T

#### Type Declaration

-   ##### `Optional`experimental\_preload?: [TilePreloadOptions](https://docs.maptiler.com/sdk-js/api-reference/types/TilePreloadOptions/)
    
    Experimental tile preloading options. This will only work if `useExperimentalTilePreloading` is set to `true` on the map options.
