CameraUpdate class

카메라의 동적 움직임을 정의한 클래스입니다. 현재 위치로 부터의 온전한 움직임을 지원합니다.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fitBounds(LatLngBounds bounds, {int padding = 0}) CameraUpdate
bounds가 화면에 온전히 보이는 좌표와 최대 줌 레벨로 카메라의 위치를 변경하는 CameraUpdate 객체를 생성합니다.
기울기 각도와 베어링 각도는 0으로 변경되며, 피봇 지점은 무시됩니다
scrollTo(LatLng latLng) CameraUpdate
카메라의 좌표를 target으로 변경하는 CameraUpdate 객체를 생성합니다. 줌 레벨, 기울기 각도, 베어링 각도 등 좌표 외의 다른 속성은 변하지 않습니다.
scrollWithOptions(LatLng latLng, {double? zoom, double? duration}) CameraUpdate
카메라의 좌표, 줌 레벨, 애니메이션 시간을 이용하여 카메라를 이동하는 CameraUpdate 객체를 생성합니다. 현재 duration은 안드로이드에서는 지원하지 않습니다(기본 설정으로 작동됩니다)
toCameraPosition(CameraPosition position) CameraUpdate
카메라를 position 위치로 이동하는 CameraUpdate 객체를 생성합니다.
zoomIn() CameraUpdate
카메라의 줌이 1만큼 증가하는 카메라 업데이트를 반환합니다.
zoomOut() CameraUpdate
카메라의 줌이 1만큼 감소하는 카메라 업데이트를 반환합니다.
zoomTo(double zoom) CameraUpdate
카메라의 줌을 zoom으로 변경하는 카메라 업테이트를 반환합니다.