MapMarkerAnimation constructor - MapMarkerAnimation - animation library - Dart API
MapMarkerAnimation
MapMarkerAnimation constructor
- MapItemKeyFrameTrack track
Creates an animation of MapMarker based on provided keyframe track.
Supports tracks created with MapItemKeyFrameTrack 'moveTo*' methods.
For starting the animation see MapMarker.startAnimation.
trackThe track holding the keyframes for the animation.
Throws MapMarkerAnimationInstantiationException. If the specified keyframe track cannot be used to create animation of a MapMarker.
Implementation
factory MapMarkerAnimation(MapItemKeyFrameTrack track) => $prototype.$init(track);