---
title: "maxTileCacheZoomLevels | Mobile sdk | Mobile sdk android | Android"
description: "maxTileCacheZoomLevels"
---

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

# maxTileCacheZoomLevels

var [maxTileCacheZoomLevels](https://docs-qmgv.pages.dev/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.map/-m-t-map-options/max-tile-cache-zoom-levels/): [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html)?

The maximum number of zoom levels for which to store tiles for a given source.

Tile cache dynamic size is calculated by multiplying maxTileCacheZoomLevels with the approximate number of tiles in the viewport for a given source.
