maploader library

Classes

CatalogUpdateInfo
Holds information for the catalog update intent.
CatalogUpdateProgressListener
Abstract class to get notified on status updates when updating catalog, previously downloaded by MapDownloader.
CatalogUpdateTask
A class to control the catalog update process.
DownloadRegionsStatusListener
Abstract class to get notified on status updates when downloading map regions.
InstalledCatalog
Represents installed catalog.
InstalledRegion
Represents a region, from persistent map storage.
MapDownloader
A class for downloading and managing map data for various regions worldwide.
MapDownloaderTask
A class to control map download process.
MapUpdateProgressListener
Abstract class to get notified on status updates when updating map data, previously downloaded by MapDownloader.
MapUpdater
A class for updating regions previously downloaded using the MapDownloader.
MapUpdateTask
A class to control the map update process.
MapVersionHandle
Represents version of the map.
Region
Defines an area, especially part of a country or the world that can be downloaded.
RegionId
Specify a unique identifier for Region.
SDKCache
A class to manage SDK Cache.
UpdateStatistics
Defines statistics related to the success or failure of patched bundles.

Enums

CatalogUpdateState
Represents the state of catalog map updates.
InstalledRegionStatus
Represents download status of region in the persistent map storage.
MapLoaderError
Specifies possible errors that may result from map downloading/prefetching.
MapUpdaterMapUpdateVersionCommitPolicy
Defines if installed regions and subregions are updated one-by-one or if all regions are updated only once the updates for all installed regions have been downloaded entirely.
Represents the navigability level of a map region.
PersistentMapRepairError
Specifies possible errors that may result after a map repair operation has been completed.
PersistentMapStatus
Specifies possible statuses of the already downloaded map regions as a whole.

Typedefs

CatalogsUpdateInfoCallback = void Function(MapLoaderError? error, List<CatalogUpdateInfo>? catalogs)
This method will be called on the main thread when MapUpdater.retrieveCatalogsUpdateInfo has been completed.
DeletedRegionsCallback = void Function(MapLoaderError? maploaderError, List<RegionId>? regions)
A method which is called on the main thread when MapDownloader.deleteRegions has been completed.
DownloadableRegionsCallback = void Function(MapLoaderError? maploaderError, List<Region>? regions)
A method which is called on the main thread when MapDownloader.getDownloadableRegionsWithLanguageCode has been completed.
MapDownloaderConstructionCallback = void Function(MapDownloader mapDownloader)
A method which is called on the main thread when MapDownloader.fromSdkEngineAsync has been completed.
MapUpdaterConstructionCallback = void Function(MapUpdater mapUpdater)
A method which is called on the main thread when MapUpdater.fromSdkEngineAsync has been completed.
OfflineStorageSizeCallback = void Function(MapLoaderError? error, int? size)
A method which is called on the main thread when MapDownloader.getOfflineMapsStorageSizeInBytesAsync has been completed.
RepairPersistentMapCallback = void Function(PersistentMapRepairError? persistentMapRepairError)
A method which is called on the main thread when MapDownloader.repairPersistentMap has been completed.
SDKCacheCallback = void Function(MapLoaderError? maploaderError)
A method which is called on the main thread when SDKCache.clearAppCache has been completed.

Exceptions / Errors

MapLoaderExceptionException
Error occurred during map operation.