setMap

open override fun setMap(map: MPIMap, completionCallback: (MPIError?) -> Unit?)

Sets the MPIMap of the MPIMapView

Return

Unit

Parameters

map

The MPIMap to set the MPIMapView to

completionCallback

Callback when the MPIMapView has completed setting the map, contains a MPIError as the first parameter


open suspend override fun setMap(map: MPIMap)

Sets the MPIMap of the MPIMapView

Return

Unit

Parameters

map

The MPIMap to set the MPIMapView to


open override fun setMap(mapId: String, completionCallback: (MPIError?) -> Unit?)

Sets the MPIMap of the MPIMapView

Return

Unit

Parameters

mapId

The id of the MPIMap to set the MPIMapView to

completionCallback

Callback when the MPIMapView has completed setting the map, contains a MPIError as the first parameter


open suspend override fun setMap(mapId: String)

Sets the MPIMap of the MPIMapView

Return

Unit

Parameters

mapId

The id of the MPIMap to set the MPIMapView to