CameraFitUpdate class final
A camera change that fits an area, for MapHandle.fitCameraToLatLngBounds()
and the other fit commands.
A jump uses only the end handler of animation, as in CameraUpdate.
See mln_camera_fit_update in the
C API reference.
Constructors
- CameraFitUpdate({CameraUpdateMode mode = const CameraUpdateMode.fromRawValue(0), CameraFitOptions fit = const CameraFitOptions(), AnimationOptions animation = const AnimationOptions()})
-
const
Properties
- animation → AnimationOptions
-
final
- fit → CameraFitOptions
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mode → CameraUpdateMode
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{CameraUpdateMode? mode, CameraFitOptions? fit, AnimationOptions? animation}) → CameraFitUpdate - 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