removeStylePack

Removes a style package. Removes a style package from the existing packages list. The actual resources eviction might be deferred as the implementation can first put the resources to the disk cache. Call `MapboxMap#clearData()` API to make sure all the temporary data is physically removed from the disk cache. All pending loading operations for the style package with the given id will fail with `Canceled` error.

Parameters

styleURI

The URI of the style package's associated style

abstract fun removeStylePack(styleURI: String)