| java.lang.Object | |
| ↳ | com.amazon.geo.mapsv2.model.CameraPosition.Builder |
Class for building CameraPosition objects.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Initializes an empty
CameraPosition.Builder. | |||||||||||
Initializes a new
CameraPosition.Builder and sets all of its
fields to the values from an existing CameraPosition. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Sets the bearing (rotation) of the camera, in degrees clockwise from
north.
| |||||||||||
Creates the new
CameraPosition. | |||||||||||
Sets the camera target location to the specified
LatLng. | |||||||||||
Sets the tilt of the camera.
| |||||||||||
Sets the zoom level of the camera.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Initializes an empty CameraPosition.Builder.
Initializes a new CameraPosition.Builder and sets all of its
fields to the values from an existing CameraPosition.
| previous | A CameraPosition with the initial values for
this builder.
|
|---|
Sets the bearing (rotation) of the camera, in degrees clockwise from north.
| bearing | The desired bearing. |
|---|
CameraPosition.Builder.
Creates the new CameraPosition.
CameraPosition object.
Sets the camera target location to the specified LatLng.
Moving the camera to this position centers the camera on the
location.
| location | The LatLng representing the latitude /
longitude of the desired camera target. |
|---|
CameraPosition.Builder.
Sets the tilt of the camera. Note that this value is clamped depending on the camera zoom.
| tilt | The desired camera angle. |
|---|
CameraPosition.Builder.
Sets the zoom level of the camera.
| zoom | The desired zoom level of the camera. |
|---|
CameraPosition.Builder.