installMap

Downloads and installs the requested map. If the installation progress should be reported, use the addMapProgressInstallListener function to register the corresponding listener.

Return

Task of current running operation which can be cancelled

Parameters

mapIso

ISO code of map to be downloaded and installed

listener

listener that will be called with result when the operation finishes


fun installMap(mapIso: String, networkSettings: NetworkSettings, listener: MapResultListener): MapInstaller.Task

Downloads and installs the requested map. If the installation progress should be reported, use the addMapProgressInstallListener function to register the corresponding listener.

Return

Task of current running operation which can be cancelled

Parameters

mapIso

ISO code of map to be downloaded and installed

networkSettings

network settings for downloading map files

listener

listener that will be called with result when the operation finishes