createTilesetsMapController
fun createTilesetsMapController(map: MapboxMap, predictiveCacheMapOptions: List<PredictiveCacheMapsOptions>? = null)
Creates map cache controller for a map instance based on a list of tilesets. This method is useful for caching specific data sources (like traffic or terrain) that are not tied to a single map style.
Parameters
map
an instance of MapboxMap
predictiveCacheMapOptions
a list of PredictiveCacheMapsOptions defining the tilesets to cache and their zoom ranges.