Companion

A convenience object to access MapboxMap's static utilities.

object Companion

Functions

clearData
Link copied to clipboard

Clears temporary map data.

Clears temporary map data from the data path defined in the given resource options. Useful to reduce the disk usage or in case the disk cache contains invalid data.

Note that calling this API will affect all maps that use the same data path and does not affect persistent map data like offline style packages.

fun clearData(resourceOptions: ResourceOptions, callback: AsyncOperationResultCallback)
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String