data class CameraPosition
A class that that describes all camera position parameters, such as location, zoom level, pitch angle, and bearing. To construct, use a CameraPositionBuilder.
focusPosition
- The coordinates that the camera is pointing at.
pitch
- The tilt angle, in degrees.
bearing
- The rotation angle, in degrees clockwise from North.
animationDuration
- Animation time for the camera update. If it is not set, the default animation time
which is 1 second will be executed. If you do not want animation, pass 0.
class CameraPositionBuilder
Builder used to construct the CameraPosition object. |
val animationDuration: Int
Animation time for the camera update. If it is not set, the default animation time which is 1 second will be executed. If you do not want animation, pass 0. |
|
val bearing: Double
The rotation angle, in degrees clockwise from North. |
|
val focusPosition: LatLng
The coordinates that the camera is pointing at. |
|
val pitch: Double
The tilt angle, in degrees. |
|
val zoom: Double
The camera zoom level. |
fun
Builder to construct the CameraPosition class. fun builder(): CameraPosition.CameraPositionBuilder
Builder to construct the CameraPosition object. |