I haven't looked at the documentation yet, rather I wanted to get a quick yes/no answer as to whether it was possible before spending time trying to work out if it is possible.
All I want to know is: - Given TWO points (the START and END point of a journey) Can I get a list of coordinates that represent the turn right/left actions of a journey. I.e. You are on Bay Road and you are told to turn right onto London Road - I want to get the coordinates of the Bay Road/London Road intersection. Like I said I did search Google for an answer to achieve this but I couldn't find anything. On Sep 30, 11:46 pm, "warden [Andrew Leach - Maps API Guru]" <[EMAIL PROTECTED]> wrote: > On Sep 30, 11:36 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > > > So dirn.getGeocode(1) would return the coordinates of the first > > "action" to take in the journey directions? I.e. "Turn right onto > > London Road" is represented as coordinates returned by > > dirn.getGeocode(1) and the next action to take on the journey would be > > represented as a geocode in dirn.getGeocode(2). > > > Have I understood this correctly? > > No, that's not what I said. I suggest you consult the documentation, > which I summarised. Placemarks are those locations which *you* > specified and *have been geocoded*. I don't know offhand whether they > are numbered from zero or 1. > > I forgot about dirn.getRoute() which returns a GRoute object. GRoutes > have GSteps, which correspond to the turn data. > > You can see it all in action in Mike's > tutorialhttp://econym.org.uk/gmap/steps.htm > > And do refer to the > documentation!http://code.google.com/apis/maps/documentation/reference.html#GRoute > > Andrew --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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-API?hl=en -~----------~----~----~----~------~----~------~--~---
