public final class CameraPosition extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
double |
bearing
베어링 각도.
|
static Parcelable.Creator<CameraPosition> |
CREATOR |
LatLng |
target
카메라의 좌표.
|
double |
tilt
기울기 각도.
|
double |
zoom
줌 레벨.
|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
CameraPosition(LatLng target,
double zoom)
좌표, 줌 레벨로
CameraPosition 객체를 생성합니다. |
CameraPosition(LatLng target,
double zoom,
double tilt,
double bearing)
좌표, 줌 레벨, 기울기, 베어링으로
CameraPosition 객체를 생성합니다. |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString() |
void |
writeToParcel(Parcel out,
int flags) |
public static final Parcelable.Creator<CameraPosition> CREATOR
public final double bearing
베어링 각도.
카메라가 바라보는 방위를 의미합니다. (도 단위)0
이면 북쪽을 의미하며, 시계 방향으로 값이 증가합니다. 360
의 배수마다 다시 북쪽이 됩니다.public final double tilt
기울기 각도.
카메라가 지면을 내려다보는 각도를 의미합니다. (도 단위)0
면 지면을 수직으로 내려다보는 경우를 의미하며, 수평으로 비스듬해질수록 값이 증가합니다.public final double zoom
줌 레벨.
지도에서 보여질 축척을 의미합니다. 값이 증가할수록 지도가 확대되어 보여집니다.public CameraPosition(LatLng target, double zoom, double tilt, double bearing)
CameraPosition
객체를 생성합니다.target
- 좌표zoom
- 줌 레벨tilt
- 기울기bearing
- 베어링public CameraPosition(LatLng target, double zoom)
CameraPosition
객체를 생성합니다.target
- 좌표zoom
- 줌 레벨public int describeContents()
describeContents
in interface Parcelable
public void writeToParcel(Parcel out, int flags)
writeToParcel
in interface Parcelable
© 2019. iNavi Systems Corp. All rights reserved.