On Nov 29, 2:50 am, kenja <[EMAIL PROTECTED]> wrote:

>
> If you wonder the code is structured as it is...  We do not know how
> many waypoints there will be in advance.  There can be up to 10, so I
> created 10 listeners.  I could not figure out how to create a variable
> number of listeners on the fly.  If you know how, let me know.
>

A single GDirections object and a single listener will do. You can put
up to 25 waypoints to the query string or in the array of
loadFromWaypoints().

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

--~--~---------~--~----~------------~-------~--~----~
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