setTilt

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


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

Deprecated

Use the camera manager's set method instead.

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