Click the map to animate line.
Animate a LineString This sample shows how to animate a LineString such that its path is drawn out smoothly over time on top of the map.