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