move abstract method

void move(
  1. CameraPosition cameraPosition, {
  2. Animation? animation,
  3. MapCameraCallback? cameraCallback,
})

Changes the camera position. Can cancel a previous unfinished movement.

animation Defines animation parameters. If {@code null}, the camera position changes instantly. @see mapkit.Animation for more details. cameraCallback A function that receives a boolean indicating whether the camera action completed successfully. Invoked when:

  • The camera action is cancelled (for example, due to a new camera movement request), in which case {\@code false} is passed.
  • The camera action finishes successfully, in which case {\@code true} is passed.

Implementation

void move(
  mapkit_map_camera_position.CameraPosition cameraPosition, {
  mapkit_animation.Animation? animation,
  MapCameraCallback? cameraCallback,
});