Package-level declarations

Offline packs and ambient cache management.

Offline packs and ambient cache management.

Types

Link copied to clipboard
sealed interface DownloadProgress

Reports the current download state of one OfflinePack.

Link copied to clipboard

Indicates whether an OfflinePack is actively downloading or has completed its download.

Link copied to clipboard
interface OfflineManager

Manages the offline packs and ambient cache that belong to one map runtime.

Link copied to clipboard
class OfflineManagerException(message: String, cause: Throwable? = null) : RuntimeException

Reports a failed operation on an OfflineManager.

Link copied to clipboard

Represents a collection of resources necessary for viewing a region offline.

Link copied to clipboard
sealed interface OfflinePackDefinition

Defines a region that an OfflinePack stores.

Functions

Link copied to clipboard
fun rememberOfflinePacksSource(offlinePacks: Set<OfflinePack>, options: GeoJsonOptions = GeoJsonOptions(), putExtraProperties: JsonObjectBuilder.(OfflinePack) -> Unit = {}): GeoJsonSource

Specialization of rememberGeoJsonSource that contains the list of OfflinePack as features. This allows you to implement a UI to manage offline packs directly on the map.