CameraUpdate class
지도의 카메라의 위치를 새롭게 정의할 때 사용하는 객체입니다.
- Mixed-in types
Constructors
-
CameraUpdate.fitMapPoints(List<
LatLng> fitPoints, {int? padding, int? zoomLevel}) -
fitPoints에 주어진 위치(좌표)들이 화면의 가장자리에 맞춰 보여지도록 카메라의 위치를 변경합니다.factory - CameraUpdate.fromMessageable(dynamic payload)
-
factory
- CameraUpdate.rotate(double angle)
-
카메라를
angle각도만큼 따라 회전합니다.factory - CameraUpdate.tilt(double angle)
-
카메라를
angle각도만큼 기울기 각도를 수정합니다.factory - CameraUpdate.zoomIn()
-
카메라가 더 자세한 정보를 담아낼 수 있도록, 한 단계 확대합니다.
factory
- CameraUpdate.zoomOut()
-
카메라가 더 넓은 정보를 담아낼 수 있도록, 한 단계 축소합니다.
factory
- CameraUpdate.zoomTo(int zoomLevel)
-
카메라의 줌레벨을
zoomLevel에 따라 확대 또는 축소를 합니다.factory - CameraUpdate.newCameraPos(CameraPosition cameraPosition)
-
CameraPosition 객체로 카메라가 이동할 위치를 설정합니다.
factory
- CameraUpdate.newCenterPosition(LatLng position, {int? zoomLevel})
-
카메라가 새롭게 이동할 위치를 지정합니다.
factory
Properties
- angle → double
-
final
- cameraPosition → CameraPosition?
-
final
-
fitPoints
→ List<
LatLng> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- padding → int?
-
final
- position → LatLng?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → CameraUpdateType
-
final
- zoomLevel → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMessageable(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited