setMap

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

Sets the MPIMap of the MPIMapView

Return

void

Parameters

map

The MPIMap to set the MPIMapView to

completionCallback

Callback when the MPIMapView has completed setting the map, contains an error string as the first parameter if it fails, defaults to null

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

Sets the MPIMap of the MPIMapView

Return

void

Parameters

mapId

The id of the MPIMap to set the MPIMapView to

completionCallback

Callback for when the MPIMapView has completed setting the map, contains an error string as the first parameter it fails, defaults to null