move abstract method
void
move(
- CameraPosition cameraPosition, {
- Animation? animation,
- 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,
});