CameraUpdate class final
A camera change for MapHandle.updateCamera().
A jump uses only the end handler of animation, and the handler runs as
soon as the camera moves.
See mln_camera_update in the
C API reference.
Constructors
- CameraUpdate({CameraUpdateMode mode = const CameraUpdateMode.fromRawValue(0), CameraOptions camera = const CameraOptions(), AnimationOptions animation = const AnimationOptions(), GesturePhase gesturePhase = const GesturePhase.fromRawValue(0)})
-
const
Properties
- animation → AnimationOptions
-
final
- camera → CameraOptions
-
final
- gesturePhase → GesturePhase
-
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, CameraOptions? camera, AnimationOptions? animation, GesturePhase? gesturePhase}) → CameraUpdate - 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