startAnimation abstract method

void startAnimation(
  1. MapPolylineAnimation animation,
  2. AnimationListener listener
)

Starts an animation of this map polyline.

The MapPolylineAnimation may be shared between multiple instances of MapPolyline.

Starting animation on one polyline does not influence any ongoing animations on other polylines. Any ongoing animation of this map polyline will get cancelled.

  • animation The animation to start.

  • listener The listener to receive notifications about animation start, completion or cancellation.

Implementation

void startAnimation(MapPolylineAnimation animation, AnimationListener listener);