updateMap

fun updateMap(mapIso: String, listener: MapResultListener): MapLoader.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

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.