startAnimation abstract method

void startAnimation(
  1. MapMarkerAnimation animation,
  2. 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.

  • animation The animation to start, may be used for multiple different map markers.

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

Implementation

void startAnimation(MapMarkerAnimation animation, AnimationListener? animationListener);