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
toJson() → dynamic
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

newCameraPosition(CameraPosition cameraPosition) → CameraUpdate
返回根据新的CameraPosition移动后的CameraUpdate.
newLatLng(LatLng latLng) → CameraUpdate
移动到一个新的位置点latLng
newLatLngBounds(LatLngBounds bounds, double padding) → CameraUpdate
根据指定到摄像头显示范围bounds和边界值padding创建一个CameraUpdate对象
newLatLngZoom(LatLng latLng, double zoom) → CameraUpdate
根据指定的新的位置latLng和缩放级别zoom创建一个CameraUpdate对象
scrollBy(double dx, double dy) → CameraUpdate
按照指定到像素点dx和dy移动地图中心点
zoomIn() → CameraUpdate
创建一个在当前地图显示的级别基础上加1的CameraUpdate对象
zoomOut() → CameraUpdate
创建一个在当前地图显示的级别基础上加1的CameraUpdate对象
zoomTo(double zoom) → CameraUpdate
创建一个指定缩放级别zoom的CameraUpdate对象