MapPolylineAnimation (API Reference)
Package com.here.sdk.animation
Class MapPolylineAnimation
java.lang.Object
com.here.NativeBase
com.here.sdk.animation.MapPolylineAnimation
An animation that can be applied to the MapPolyline object.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDescribes a reason for failing to create aMapPolylineAnimation.static final classThrown when a problem occurs while trying to create aMapPolylineAnimation. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MapPolylineAnimation
public MapPolylineAnimation(@NonNull MapItemKeyFrameTrack track) throws MapPolylineAnimation.InstantiationException Creates an animation of
MapPolylinebased on provided keyframe track. Supports tracks created withMapItemKeyFrameTrack'polylineProgress*' methods. For starting the animation, seeMapPolyline.startAnimation(com.here.sdk.animation.MapPolylineAnimation, com.here.sdk.animation.AnimationListener).- Parameters:
track-The track holding the keyframes for the animation.
- Throws:
MapPolylineAnimation.InstantiationException-If the specified keyframe track cannot be used to create animation of a
MapPolyline.
-