CameraBounds class final

All the limits on a map's camera.

Its members mean the same as those of BoundOptions.

See mln_camera_bounds in the C API reference.

Constructors

CameraBounds({LatLngBounds bounds = const LatLngBounds(), bool unbounded = false, double minZoom = 0, double maxZoom = 0, double minPitch = 0, double maxPitch = 0})
const

Properties

bounds → LatLngBounds
The area that the camera's center stays within. When unbounded is true, it covers the whole world.
final
hashCode → int
The hash code for this object.
no setterinherited
maxPitch → double
The highest pitch, in degrees.
final
maxZoom → double
final
minPitch → double
The lowest pitch, in degrees.
final
minZoom → double
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
unbounded → bool
Whether no area limits the camera's center.
final

Methods

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

Operators

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