set Map
abstract fun setMap(map: MPIMap, completionCallback: (String?) -> Unit? = null)
Content copied to clipboard
Sets the MPIMap of the MPIMapView
Return
Parameters
map
The MPIMap to set the MPIMapView to
completion Callback
Callback when the MPIMapView has completed setting the map, contains an error string as the first parameter if it fails, defaults to null
abstract fun setMap(mapId: String, completionCallback: (String?) -> Unit? = null)
Content copied to clipboard
Sets the MPIMap of the MPIMapView
Return
Parameters
map Id
The id of the MPIMap to set the MPIMapView to
completion Callback
Callback for when the MPIMapView has completed setting the map, contains an error string as the first parameter it fails, defaults to null