startAnimation abstract method

void startAnimation(
  1. MapMarkerAnimation animation,
  2. AnimationListener? animationListener
)

Starts animation of this 3D marker according to provided MapMarkerAnimation.

Supports tracks created with MapItemKeyFrameTrack 'moveTo', 'scale' and 'opacity' methods.

Any ongoing animation of this marker instance will get cancelled.

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

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

Implementation

void startAnimation(MapMarkerAnimation animation, AnimationListener? animationListener);