CameraTransitionOutcome class final
How a camera change ended.
A change that ends in more than one way reports
CameraTransitionOutcome.cancelled if any of it was cancelled, and
otherwise CameraTransitionOutcome.replaced if any of it was replaced.
See mln_camera_transition_outcome in the
C API reference.
Constructors
- CameraTransitionOutcome.fromRawValue(int rawValue)
-
const
Properties
Methods
-
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
Constants
- cancelled → const CameraTransitionOutcome
-
MapHandle.cancelCameraTransitions(),MapHandle.cancelCameraTransitionsWithId(), a gesture'sGesturePhase.beginorGesturePhase.cancel,MapHandle.setFreeCameraOptions(), or a resize that moved the camera back inside its bounds stopped the change. A command that fails before it moves the camera also reports this. - closed → const CameraTransitionOutcome
- The map closed before the change ended.
- completed → const CameraTransitionOutcome
- The camera finished the change.
- replaced → const CameraTransitionOutcome
- A later camera change set every field that a part of the change was still animating, so that part stopped. Its other parts keep animating, and the change reports this outcome when they end, unless one was cancelled.