Hi there, anyone could help me?

I have a google map api with an animated car, i needed to get my whole animation time to a variable before it happens, so i could use that variable to control a...