startAnimation abstract method
- MapMarkerAnimation animation,
- AnimationListener? animationListener
Starts animation of this map marker according to provided MapMarkerAnimation.
The MapMarkerAnimation may be shared between multiple instances of MapMarker.
Starting animation on one map marker does not influence any ongoing animations on other map markers. Any ongoing animation of this marker instance will get cancelled.
-
animationThe animation to start, may be used for multiple different map markers. -
animationListenerThe listener to receive notifications about animation start, completion or cancellation.
Implementation
void startAnimation(MapMarkerAnimation animation, AnimationListener? animationListener);