startAnimation abstract method
- MapMarkerAnimation animation,
- 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.
-
animationThe animation to start, may be used for multiple different 3D markers. -
animationListenerThe listener to receive notifications about animation start, completion or cancellation.
Implementation
void startAnimation(MapMarkerAnimation animation, AnimationListener? animationListener);