An example using setInterval to animate polylines in the Google Maps API.