animate Camera
Animates the camera to a new position.
Stops any ongoing animation and commits any pending pan offsets before starting. The animation runs on the main thread, one step per display frame, and eases in and out like an AccelerateDecelerateInterpolator. If the camera already is at the target, the listener's onFinish() is called right away and no camera listeners are called.
The move is reported to OnCameraMoveStartedListener with OnCameraMoveStartedListener.REASON_DEVELOPER_ANIMATION.
Parameters
The camera update to animate to
Duration of the animation in milliseconds (default 250ms)
Optional listener for animation completion callbacks
Animates the camera to a new position with the given timing, e.g. a android.view.animation.LinearInterpolator for constant speed.
Parameters
The camera update to animate to
Duration of the animation in milliseconds
Maps the elapsed share of the duration to the share of the way
Optional listener for animation completion callbacks