Package-level declarations

Offline packs and ambient cache management on Android, iOS, and desktop.

Types

Link copied to clipboard
sealed interface DownloadProgress

Reports the current download state of one OfflinePack.

Link copied to clipboard
sealed interface DownloadStatus

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

Link copied to clipboard

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

Link copied to clipboard

Defines a region that an OfflinePack stores.

Link copied to clipboard
sealed interface OfflineStorage

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

Link copied to clipboard

Reports a failed operation on an OfflineStorage.

Link copied to clipboard

The initialization result and current contents of an OfflineStorage.

Properties

Link copied to clipboard

The offline packs and ambient cache that belong to this runtime.

Functions

Link copied to clipboard
fun rememberOfflinePacksSource(offlinePacks: Set<OfflinePack>, options: GeoJsonOptions = GeoJsonOptions.Standard, putExtraProperties: JsonObjectBuilder.(pack: OfflinePack, metadata: ByteArray?) -> 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.