Offline topic

Visit the Offline chapter in the documentation to learn more.

Classes

DownloadProgress
This model class is used to stream the download progress in OfflineManager.downloadRegion and OfflineManager.resumeDownload.
OfflineGeometryRegionDefinition
An OfflineRegionDefinition of the tiles that a geometry touches, such as a route as a LineString or an area as a Polygon.
OfflineManager
Use the offline manager to download map regions for offline usage.
OfflineRegion
Model class that represents a map region for offline usage.
OfflineRegionDefinition
What an OfflineRegion covers: the tiles of a style within an area, between two zoom levels.
OfflineRegionStatus
How far the download of an offline region got, from OfflineManager.getRegionStatus or DownloadProgress.status.
OfflineTilePyramidRegionDefinition
An OfflineRegionDefinition of every tile within a rectangle.

Enums

OfflineRegionDownloadState
Whether an offline region downloads.
OfflineResourceErrorReason
Why a resource of an offline region failed to load.

Exceptions / Errors

OfflineDownloadException
Reported by the stream of OfflineManager.downloadRegion and OfflineManager.resumeDownload when the download of a region runs into a problem.
OfflineResourceException
A resource of an offline region failed to load. The download retries it.
OfflineTileCountLimitException
An offline region needs more tiles than MapLibre allows, so its download stopped.