setOfflineMapboxTileCountLimit

abstract fun setOfflineMapboxTileCountLimit(limit: Long)

Sets the maximum number of Mapbox-hosted tiles that may be downloaded and stored on the current device. By default, the limit is set to 6,000. Once this limit is reached, `OfflineRegionObserver.mapboxTileCountLimitExceeded()` fires every additional attempt to download additional tiles until already downloaded tiles are removed by calling `OfflineRegion.purge()` API.

Parameters

limit

the maximum number of tiles allowed to be downloaded