Thats great news!

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?

Thanks for your time.



On Sep 30, 11:18 pm, "warden [Andrew Leach - Maps API Guru]"
<[EMAIL PROTECTED]> wrote:
> On Sep 30, 10:30 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
>
>
> > I would guess that this is not possible as I havent found anything
> > promising, if this is the case is their a workaround solution which
> > may provide an answer?
>
> You can use dirn.getPolyline() to return a polyline. Once you have a
> line, you can use line.getVertexCount() to find how many vertices
> there are and line.getVertex(n) to get each vertex. [Substitute your
> own variable names for dirn and line, of course]
>
> If you actually mean *placemark* locations -- those locations which
> you specified and have been geocoded -- then dirn.getNumGeocodes()
> returns how many there are and dirn.getGeocode(n) will extract each
> one.
>
> See the documentation.
>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to