updateMap

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.

Return

Task of current running operation which can be cancelled

Parameters

mapIso

ISO code of map, for which an update should be performed

listener

listener which is called after the update is complete, called with ISO code of the map and status or with load result on failure.


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

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.

Return

Task of current running operation which can be cancelled

Parameters

mapIso

ISO code of map, for which an update should be performed

networkSettings

ignored

listener

listener which is called after the update is complete, called with ISO code of the map and status or with load result on failure.