setTileCacheBudget

fun setTileCacheBudget(tileCacheBudget: TileCacheBudget?)

The tile cache budget hint to be used by the map. The budget can be given in tile units or in megabytes. A Map will do the best effort to keep memory allocations for a non essential resources within the budget.

If the tile cache budget is specified in megabytes, the engine will attempt to use ETC2 texture compression for raster layers.

If null is set, the tile cache budget in tile units will be dynamically calculated based on the current viewport size.

Parameters

tileCacheBudget

The tile cache budget hint to be used by the Map.