MinMaxZoomPreference class
Preferred bounds for map camera zoom level.
Used with MapLibreMapOptions to wrap min and max zoom. This allows
distinguishing between specifying unbounded zooming (null minZoom and
maxZoom) from not specifying anything (null MinMaxZoomPreference).
- Annotations
Constructors
- MinMaxZoomPreference(double? minZoom, double? maxZoom)
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- maxZoom → double?
-
The preferred maximum zoom level or null, if unbounded from above.
final
- minZoom → double?
-
The preferred minimum zoom level or null, if unbounded from below.
final
- 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 MinMaxZoomPreference
- Unbounded zooming.