createAnimationFromUpdateWithEasing static method

MapCameraAnimation createAnimationFromUpdateWithEasing(
  1. MapCameraUpdate cameraUpdate,
  2. Duration duration,
  3. 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.

  • cameraUpdate Update which should be applied to the map camera.

  • duration Duration of the animation. Negative duration results in no camera change when applied.

  • easing Easing to apply.

Returns MapCameraAnimation. MapCameraAnimation instance

Implementation

static MapCameraAnimation createAnimationFromUpdateWithEasing(MapCameraUpdate cameraUpdate, Duration duration, Easing easing) => $prototype.createAnimationFromUpdateWithEasing(cameraUpdate, duration, easing);