public final class CameraPosition
extends java.lang.Object
| Constructor and Description |
|---|
CameraPosition(LatLng position,
float zoom,
float rotation,
float tilt)
Instantiates a new Camera position.
|
| Modifier and Type | Method and Description |
|---|---|
LatLng |
getPosition()
Gets position.
|
float |
getRotation()
Gets rotation.
|
float |
getTilt()
Gets tilt.
|
float |
getZoom()
Gets zoom.
|
public CameraPosition(@NonNull
LatLng position,
float zoom,
float rotation,
float tilt)
position - the geographic position of the center of the map viewzoom - the zoom level of the map viewrotation - the rotation of the viewtilt - the tilt angle of the viewpublic LatLng getPosition()
public float getZoom()
public float getRotation()
public float getTilt()