I have an array of markers and I want to animate a polyline between all of them, one by one. This code will draw a line between the final markers in the array, but skips the