> I am trying to figure out if something is possible before I start
> developing. What i want to know is if it is possible to find the
> relative direction (i.e left, right, u-turn etc similar to Sat Nav
> directions) from the Directions object returned from the API? I have
> looked into the Step object and this doesn't seem to have this
> information directly?

ermm, its in the DirectionsStep.instructions
http://code.google.com/apis/maps/documentation/v3/services.html#Steps
you might parse the instructions looking for keywords like left,
right, turn

There is also start_location and end_location, which would allow you
to simply calculate the compass heading and compare with prevoius or
subsequent steps.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to