Hello! I am interested in whether you were able to solve your use case of showing multiple routes. I am interested in doing something similar, but I've been having difficulties... I need to pass a new XML file to my web app on a cyclical basis and then move each of the "cars" around the map. Ideally each car would move within their own "thread", so that there could be simultaneous movement. When I wrote code to loop through the "cars", I ended up with contention between the cars causing "jittering" of the single car as it accepted new coordinates. I think that I wasn't getting the separation of each car\polyline combo correct. Unfortunately I left my code back home (up in the Rockies, enjoying vacation), so I can't post what I've done so far. I was hoping that you had success in separating out "routes"- your example page does not indicate that you were. I appreciate any feedback that you can share! :-) Ferd
On Wednesday, December 8, 2010 1:31:52 PM UTC-7, xelawho wrote: > > and when I try it all out without changing the push line), there's a > > "Cannot read property 'xa' of undefined" error... > > ... turns out I was overcomplicating things (again) > > all it needed was a > poly=gpolys[poly_num] > > at the start of the startAnimation function > > thanks again for your help, Andrew. -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-api/-/PZmJgsXiZ34J. 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.
