public final class CameraPosition
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CameraPosition.Builder
CameraPosition 的Builder类 |
Modifier and Type | Field and Description |
---|---|
float |
bearing |
LatLng |
target |
float |
tilt |
float |
zoom |
Constructor and Description |
---|
CameraPosition(LatLng latlng,
float zoomLevel,
float skew,
float rotate)
构造一个
CameraPosition |
Modifier and Type | Method and Description |
---|---|
static CameraPosition.Builder |
builder()
|
static CameraPosition.Builder |
builder(CameraPosition cameraposition)
由一个
CameraPosition 对象创建一个
CameraPosition.Builder |
boolean |
equals(java.lang.Object obj) |
static CameraPosition |
fromLatLngZoom(LatLng latlng,
float zoomLevel)
创建一个
CameraPosition |
java.lang.String |
toString() |
public LatLng target
public final float zoom
public final float tilt
public final float bearing
public CameraPosition(LatLng latlng, float zoomLevel, float skew, float rotate)
CameraPosition
latlng
- 目标经纬度zoomLevel
- 缩放级别skew
- 倾斜角度rotate
- 旋转角度public static final CameraPosition fromLatLngZoom(LatLng latlng, float zoomLevel)
CameraPosition
latlng
- 目标经纬度zoomLevel
- 目标缩放级别public static CameraPosition.Builder builder()
public static CameraPosition.Builder builder(CameraPosition cameraposition)
CameraPosition
对象创建一个
CameraPosition.Builder
cameraposition
- 地图状态public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object