startAnimation abstract method
- MapPolylineAnimation animation,
- 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.
-
animationThe animation to start. -
listenerThe listener to receive notifications about animation start, completion or cancellation.
Implementation
void startAnimation(MapPolylineAnimation animation, AnimationListener listener);