setOfflineMapboxTileCountLimit

Sets the maximum number of 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, OfflineRegion.OfflineRegionObserver.mapboxTileCountLimitExceeded fires every additional attempt to download additional tiles until already downloaded tiles are removed by calling OfflineRegion.delete.

Parameters

limit

the maximum number of tiles allowed to be downloaded