cancelCameraTransitions method

Future<CommandCompletion> cancelCameraTransitions()

Stops every running camera animation where it is.

The end handler of each stopped animation reports CameraTransitionOutcome.cancelled.

See mln_map_cancel_camera_transitions in the C API reference.

Implementation

Future<CommandCompletion> cancelCameraTransitions() => _command(
  (arena, completion) => raw.mln_map_cancel_camera_transitions(
    _handle.raw,
    completion,
    nativeDiagnostic,
  ),
);