NCameraUpdate class

카메라가 보여주는 곳을 변경할 때 사용하는 객체입니다.

문서를 참고하세요. 문서 보러가기

Constructors

NCameraUpdate.fitBounds(NLatLngBounds bounds, {EdgeInsets? padding})
NLatLngBounds에 해당하는 영역을 온전하게 보여주는 NCameraUpdate 객체를 생성합니다.
factory
NCameraUpdate.fromCameraPosition(NCameraPosition position)
NCameraPosition 객체를 이용해 NCameraUpdate 객체를 생성합니다.
factory
NCameraUpdate.scrollAndZoomTo({NLatLng? target, double? zoom})
간단하게 특정 지점 혹은 줌 레벨만을 지정하기 위해 사용하는 생성자입니다.
factory
NCameraUpdate.withParams({NLatLng? target, double? zoom, double? zoomBy, double? tilt, double? tiltBy, double? bearing, double? bearingBy})
target, zoom, bearing, tilt를 모두 선택적으로 설정할 수 있는 생성자입니다.
factory
NCameraUpdate.zoomBy(double delta)
줌 레벨을 상대적으로 설정합니다.
factory
NCameraUpdate.zoomIn()
줌 레벨을 1 증가시킵니다.
factory
NCameraUpdate.zoomOut()
줌 레벨을 1 감소시킵니다.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
payload Map<String, dynamic>
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
setAnimation({NCameraAnimation animation = NCameraAnimation.easing, Duration duration = const Duration(milliseconds: 800)}) → void
카메라가 이동할 때의 애니메이션을 설정하는 메서드입니다.
setPivot(NPoint pivot) → void
카메라의 이동 기준점을 설정하는 메서드입니다. 기본값은 화면 중앙을 의미하는 NPoint(0.5, 0.5)입니다.
setReason(NCameraUpdateReason reason) → void
카메라 업데이트의 원인을 설정하는 메서드입니다.
toNPayload() → NPayload
toString() String
A string representation of this object.
override

Operators

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