fieldOfViewWithEasing static method
- List<
ScalarKeyframe> keyframes, - Easing easing,
- KeyframeInterpolationMode interpolationMode
Creates a map camera field-of-view keyframe track.
It enables animations over the angle of the field of view captured by the map camera in degrees. Values will be clamped to a range from 1 to 150.
-
keyframesThe 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. -
easingThe easing to apply during keyframe interpolation. -
interpolationModeThe type of interpolation done between keyframe values.
Returns MapCameraKeyframeTrack. A keyframe track over the map camera field-of-view.
Throws MapCameraKeyframeTrackInstantiationException. Indicates an instantiation issue.
Implementation
static MapCameraKeyframeTrack fieldOfViewWithEasing(List<ScalarKeyframe> keyframes, Easing easing, KeyframeInterpolationMode interpolationMode) => $prototype.fieldOfViewWithEasing(keyframes, easing, interpolationMode);