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