BoundOptions class final
Limits on the camera, for MapHandle.setBounds().
See mln_bound_options in the
C API reference.
Constructors
- BoundOptions({LatLngBounds? bounds, double? minZoom, double? maxZoom, double? minPitch, double? maxPitch, bool unbounded = false})
-
const
Properties
- bounds → LatLngBounds?
-
The area that the camera's center stays within.
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
-
Removes the area that limits the camera's center.
final
Methods
-
copyWith(
{LatLngBounds? bounds, double? minZoom, double? maxZoom, double? minPitch, double? maxPitch, bool? unbounded}) → BoundOptions - A copy of this value with the given members replaced.
-
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