lookAtTargetWithEasing static method

MapCameraKeyframeTrack lookAtTargetWithEasing(
  1. List<GeoCoordinatesKeyframe> keyframes,
  2. Easing easing,
  3. KeyframeInterpolationMode interpolationMode
)

Creates a map camera look-at target keyframe track.

It enables animations over the geographical coordinates of the target point that the map camera is looking at. Altitude components of coordinates are ignored.

  • keyframes The list of keyframes that specify how the camera property is changed. Keyframe time offsets are considered to be relative to the previous keyframe in the list or relative to the start of the animation if the current keyframe is first in the list. Time offset of the first keyframe in the list should be 0, otherwise an error occurs and creation of the keyframe track will fail.

  • easing The easing to apply during keyframe interpolation.

  • interpolationMode The type of interpolation done between keyframe values.

Returns MapCameraKeyframeTrack. A keyframe track over the map camera target coordinates.

Throws MapCameraKeyframeTrackInstantiationException. Indicates an instantiation issue.

Implementation

static MapCameraKeyframeTrack lookAtTargetWithEasing(List<GeoCoordinatesKeyframe> keyframes, Easing easing, KeyframeInterpolationMode interpolationMode) => $prototype.lookAtTargetWithEasing(keyframes, easing, interpolationMode);