moveToWithEasing static method
- List<
GeoCoordinatesKeyframe> keyframes, - Easing easing,
- KeyframeInterpolationMode interpolationMode
Creates a map item position keyframe track.
It enables animations over the geographical coordinates where the map item is positioned.
-
keyframesThe list of keyframes that specify how the map item position changes over time. -
easingThe easing to apply during keyframe interpolation. -
interpolationModeThe type of interpolation done between keyframe values.
Returns MapItemKeyFrameTrack. MapItemKeyFrameTrack instance.
Throws MapItemKeyFrameTrackInstantiationException. If the supplied keyframe list is empty or first keyframe duration is not 0.
Implementation
static MapItemKeyFrameTrack moveToWithEasing(List<GeoCoordinatesKeyframe> keyframes, Easing easing, KeyframeInterpolationMode interpolationMode) => $prototype.moveToWithEasing(keyframes, easing, interpolationMode);