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

ignored

listener

listener that will be called with result when the operation finishes