setTilt

open fun setTilt(tilt: Float)

This method changes the angle of the tilt in degrees. Note that the amount of tilt that is possible on the map is dependant on the zoom level.

See also

<a href="https://developers.google.com/android/reference/com/google/android/gms/maps/model/CameraPosition.Builder#zoom(float)"> Google Maps documentation for tilt</a>

Parameters

tilt

float value which is translated to degrees, has to be between 0 and 90 inclusive.