moveWithAnimation abstract method
void
moveWithAnimation(
- CameraPosition cameraPosition,
- Animation animation, {
- MapCameraCallback? cameraCallback,
Changes camera position. Can cancel a previous unfinished movement.
animation
Required. Defines animation parameters. @see
mapkit.Animation for more details.
cameraCallback
A function that takes the bool argument marking the
camera action complete. Invoked when:
- A camera action is cancelled (for example, as a result of a subsequent request for camera movement), passing false as an argument.
- A camera action finished successfully, passing true as an argument.
Implementation
void moveWithAnimation(
mapkit_map_camera_position.CameraPosition cameraPosition,
mapkit_animation.Animation animation, {
MapCameraCallback? cameraCallback,
});