I know almost nothing about SVG files, but have to use one in order to draw a line to indicate a route (I don’t know enough about canvas to make that an option).
I found some examples and managed to achieve what I’m after, but it turns out The line needs to move from right to left.
I exported the path from Illustrator and have no idea how to reverse them. Is there a way I can reverse the animation?
Here is the file: http://jdfv.nl/route.svg
Here’s one way:
http://jsfiddle.net/VTp4D/
Relevant part of SVG file:
Javascript code: