setTilt

fun setTilt(tilt: Double, callback: (MPIError?) -> Unit?)

Sets the current camera tilt of MPIMapView

Return

Unit

Parameters

tilt

The angle in radians from top-down view to set the current camera tilt to

callback

Callback for when the camera tilt has been set, contains a MPIError as the first parameter


suspend fun setTilt(tilt: Double): Double

Sets the current camera tilt of MPIMapView

Return

the Double value that the camera tilt was set to

Parameters

tilt

The angle in radians from top-down view to set the current camera tilt to