Encapsulates all camera attributes.
Name | Type | Description |
|---|---|---|
bearing | double | Direction that the camera is pointing at. |
target | Longitude and latitude of the location that the camera is pointing at. | |
tilt | double | Angle of the camera from the nadir (directly facing the Earth's surface). |
zoom | double | Zoom level near the center of the screen. |
Constructor | Definition |
|---|---|
CameraPosition({double bearing, required LatLng target, double tilt, double zoom}) | Creates a CameraPosition object. |
Creates a CameraPosition object from a map. |
Creates a CameraPosition object.
Parameter | Type | Description |
|---|---|---|
bearing | double | Direction that the camera is pointing at. |
target | Longitude and latitude of the location that the camera is pointing at. | |
tilt | double | Angle of the camera from the nadir (directly facing the Earth's surface). |
zoom | double | Zoom level near the center of the screen. |