Create Video From Map Route Animation

I'm trying to implement a feature where a use can record the trail history of their activities. The idea is similar with Relive App, their video animation of the track.

Anyone can point me to the right direction, what Library should I use for this. I'm using google maps for route plotting.

Thank you.
Create Video From Map Route Animation
 
 
Q