setRotation

fun setRotation(rotation: Double, callback: (String?, String?) -> Unit? = null)

Sets the current camera rotation of MPIMapView

Return

Unit

Parameters

rotation

The angle in degrees relative to north to set the current camera rotation to

callback

Callback for when the camera rotation has been set