On Jan 14, 11:54 am, tinem <[email protected]> wrote:
> So think it's here the code change should be but to what?

I don't think that is the problem in itself. In the working example,
you have two waypoints (start and end) and one route. In the non-
working example, you have 13 waypoints which means you have twelve
routes. GDirections creates a GRoute object between pairs of
waypoints.

But your animate() function always uses dirn.getRoute(0), which can't
be right.

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