Class MapMarkerAnimation
Package com.here.sdk.animation
Class MapMarkerAnimation
- java.lang.Object
-
- com.here.NativeBase
-
- com.here.sdk.animation.MapMarkerAnimation
-
public final class MapMarkerAnimation extends NativeBase
An animation that can be applied to the
MapMarkerobject.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMapMarkerAnimation.InstantiationErrorCodeDescribes a reason for failing to create aMapMarkerAnimation.static classMapMarkerAnimation.InstantiationExceptionThrown when a problem occurs while trying to create aMapMarkerAnimation.
-
Constructor Summary
Constructors Constructor Description MapMarkerAnimation(MapItemKeyFrameTrack track)Creates an animation ofMapMarkerbased on provided keyframe track.
-
-
-
Constructor Detail
-
MapMarkerAnimation
public MapMarkerAnimation(@NonNull MapItemKeyFrameTrack track) throws MapMarkerAnimation.InstantiationExceptionCreates 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.
-
-