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

# maxTileCacheZoomLevels

var [maxTileCacheZoomLevels](https://docs.maptiler.com/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.
