TileCacheBudget

data class TileCacheBudget(val value: Value)

This property defines a source-specific resource budget, either in tile units or in megabytes. Whenever the tile cache goes over the defined limit, the least recently used tile will be evicted from the in-memory cache. Note that the current implementation does not take into account resources allocated by the visible tiles.

Parameters

value

the property wrapped in Value to be used with native renderer.

Constructors

Link copied to clipboard

Construct the TileCacheBudget with TileCacheBudgetInMegabytes.

Link copied to clipboard

Construct the TileCacheBudget with TileCacheBudgetInTiles.

Link copied to clipboard
fun TileCacheBudget(expression: Expression)

Construct the TileCacheBudget with Mapbox Expression.

Link copied to clipboard

Types

Link copied to clipboard
object Companion

Public companion object.

Properties

Link copied to clipboard