public final class CameraPosition
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
static class |
CameraPosition.Builder
CameraPosition 的Builder类 |
构造器和说明 |
---|
CameraPosition(LatLng latlng,
float zoomLevel,
float skew,
float rotate)
构造一个
CameraPosition |
限定符和类型 | 方法和说明 |
---|---|
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
在类中 java.lang.Object
public java.lang.String toString()
toString
在类中 java.lang.Object