Python: How can I find the heading of a road using the Google Maps API?

I wrote a python program that takes a start point and an end point and then uses the google maps API to generate a gif of the route using google street view. Everything works fine, I just can't find a way to get the bearing / title of the car. The resulting gifs are the correct path, but the camera is not pointing the way.

https://www.dropbox.com/s/b17el2lmiyna7m6/finalproduct8fps.gif?dl=0

here is a sample to show you what i mean, the camera does not indicate the road at any time, how can i get the vehicle heading?

+3


source to share





All Articles