rotateTo

fun rotateTo(@FloatRange(from = 0.0, to = 360.0) heading: Double): CameraOptions

Returns the CameraOptions that set the heading of the camera.

Return

CameraOptions with the transition.

Parameters

heading

Sets the camera heading. Heading is measured starting at due north and continuing clockwise around the compass. Thus, north is 0 degrees, east is 90 degrees, south is 180 degrees, and so on.

See also

to read more about the rotation attribute.