Animate a Line

This sample shows how to animate the position of a line on the map by appending coordinates to it over time.