ContainCamera class

Constructors

ContainCamera({required LatLngBounds bounds})
ContainCamera is a camera constraint that keeps the camera within the given bounds.
const

Properties

bounds → LatLngBounds
bounds is the bounds to keep the camera within.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

constrain(MapCamera camera) → MapCamera?
Create a new constrained camera based off the current camera
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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