Map Installer
Class providing functionality to manage offline maps on the device.
ToDo: Update documentation!
Types
Result of executed operation.
Status of a map.
Functions
Adds listener for installation progress of a map.
Adds listener that will be called when a map that has resumed installation has finished installing.
Checks for map updates.
Detects the country of current location.
Fetches all currently available maps. When finished, it calls the listener with the list of available map ISO codes or operation result if fetching failed.
Fetch details about a country.
Fetches the status of requested map (country or region).
Fetch details about a country region.
Downloads and installs the requested map. If the installation progress should be reported, use the addMapProgressInstallListener function to register the corresponding listener.
Installs maps from root_path/offline_maps/update folder.
Loads installed map (country or region).
Loads installed maps (countries or regions).
Removes listener for installation progress of a map.
Removes listener for resumed map installation.
Resumes all pending map installations (and updates). If the notification about finished installation is needed, register listener for it via addMapResumedInstallDoneListener. If the installation progress should be reported, use the addMapProgressInstallListener function to register the corresponding listener.
Uninstalls the requested map.
Unloads loaded map.
Unloads loaded maps.
Updates map with given ISO code. If the update progress should be reported, use the addMapProgressInstallListener function to register the corresponding listener. In case of successful update, the map will be loaded.