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 tutorial http://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 -~----------~----~----~----~------~----~------~--~---
