On this page
unloadOfflinePack
suspend fun unloadOfflinePack(fallbackStyle: MTMapReferenceStyle = MTMapReferenceStyle.STREETS, fallbackVariant: MTMapStyleVariant? = null, resetCameraLimits: Boolean = true)
Unloads the current offline pack and restores the map to an online style.
Parameters
fallbackStyle
The reference style to load after unloading the pack.
fallbackVariant
The style variant to load.
resetCameraLimits
If true, clears any zoom and bounding box restrictions.