createAnimationFromUpdateWithEasing static method
- MapCameraUpdate cameraUpdate,
- Duration duration,
- Easing easing
Creates a MapCameraAnimation to gradually update the camera properties within a specified
duration from its current values to the ones defined in the MapCameraAnimationFactory.createAnimationFromUpdateWithEasing.cameraUpdate.
MapCameraAnimation
instances created from MapCameraUpdateFactory.compositeUpdate instances are not supported. An
AnimationListener will receive an AnimationState.cancelled signal
when trying to apply such animations.
-
cameraUpdateUpdate which should be applied to the map camera. -
durationDuration of the animation. Negative duration results in no camera change when applied. -
easingEasing to apply.
Returns MapCameraAnimation. MapCameraAnimation instance
Implementation
static MapCameraAnimation createAnimationFromUpdateWithEasing(MapCameraUpdate cameraUpdate, Duration duration, Easing easing) => $prototype.createAnimationFromUpdateWithEasing(cameraUpdate, duration, easing);