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
Converts this object to something serializable in JSON.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

newCameraPosition(CameraPosition cameraPosition) → dynamic
Returns a camera update that moves the camera to the specified position.
newLatLng(LatLng latLng) → dynamic
Returns a camera update that moves the camera target to the specified geographical location.
newLatLngBounds(LatLngBounds bounds, double padding) → dynamic
Returns a camera update that transforms the camera so that the specified geographical bounding box is centered in the map view at the greatest possible zoom level. A non-zero padding insets the bounding box from the map view's edges. The camera's new tilt and bearing will both be 0.0.
newLatLngZoom(LatLng latLng, double zoom) → dynamic
Returns a camera update that moves the camera target to the specified geographical location and zoom level.
zoomBy(double amount) → dynamic
Returns a camera update that modifies the camera zoom level by the specified amount. The optional focus is a screen point whose underlying geographical location should be invariant, if possible, by the movement.
zoomIn() → dynamic
Returns a camera update that zooms the camera in, bringing the camera closer to the surface of the Earth.
zoomOut() → dynamic
Returns a camera update that zooms the camera out, bringing the camera further away from the surface of the Earth.
zoomTo(double zoom) → dynamic
Returns a camera update that sets the camera zoom level.