Try the directions object's getNumRoutes() method, documented here:

http://code.google.com/apis/maps/documentation/reference.html#GDirections

Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
http://jgeerdes.home.mchsi.com
http://jgeerdes.blogspot.com
http://jgeerdes.wordpress.com
[email protected]

Unless otherwise noted, any price quotes contained within this  
communication are given in US dollars.

If you're in the Des Moines, IA, area, check out Debra Heights  
Wesleyan Church!

And check out my blog, Adventures in Web Development, at 
http://jgeerdes.blogspot.com 
  !


On Nov 9, 2009, at 6:56 AM, hawks_eye wrote:

>
> Hi, I would try to describe my problem corectly. So, I have list of
> GDirection and I need to get by some way number of lines in this list.
> One example : 1. head east on ... 2. turn right ... 3. Continue
> straight onto ... N. Take exit onto ...  ...and "N" is what I need to
> get. I hope I described it well. Thanks for help.
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" 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-ajax-search-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to