Package-level declarations

Functionality for managing offline map data and caching.

Types

Link copied to clipboard
sealed interface DownloadProgress
Link copied to clipboard

Represents whether an OfflinePack is actively downloading or has completed downloading.

Link copied to clipboard
interface OfflineManager

An instance of this interface is a singleton that manages offline packs and ambient caching.

Link copied to clipboard
Link copied to clipboard

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

Link copied to clipboard
sealed interface OfflinePackDefinition

An object that defines a region required by an OfflinePack.

Functions

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

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.