installMap

fun installMap(mapIso: String, 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

listener

listener that will be called with result when the operation finishes