public static final class CameraPosition.Builder
extends java.lang.Object
CameraPosition
的Builder类Constructor and Description |
---|
Builder() |
Builder(CameraPosition cameraposition) |
Modifier and Type | Method and Description |
---|---|
CameraPosition.Builder |
bearing(float rotate)
旋转角度
|
CameraPosition |
build() |
CameraPosition.Builder |
target(LatLng latlng)
地图目标经纬度
|
CameraPosition.Builder |
tilt(float skew)
倾斜角度
|
CameraPosition.Builder |
zoom(float zoomLevel)
地图的目标缩放级别
|
public Builder()
public Builder(CameraPosition cameraposition)
public CameraPosition.Builder target(LatLng latlng)
latlng
- 目标经纬度public CameraPosition.Builder zoom(float zoomLevel)
zoomLevel
- 目标缩放级别public CameraPosition.Builder tilt(float skew)
skew
- 目标倾斜角[0.0 ~ 45.0]public CameraPosition.Builder bearing(float rotate)
rotate
- 目标旋转角public CameraPosition build()