CameraTargetBounds class
Bounds for the map camera target.
Used with _MapLibreMapOptions
to wrap a LatLngBounds value. This allows
distinguishing between specifying an unbounded target (null LatLngBounds
)
from not specifying anything (null CameraTargetBounds
).
- Annotations
Constructors
- CameraTargetBounds.new(LatLngBounds? bounds)
-
Creates a camera target bounds with the specified bounding box, or null
to indicate that the camera target is not bounded.
const
Properties
- bounds → LatLngBounds?
-
The geographical bounding box for the map camera target.
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → dynamic -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- unbounded → const CameraTargetBounds
- Unbounded camera target.