> http://dev.thekirchners.net/routetest.html
You're still having trouble with scope.
In your listener, you have
alert(allRoutes[rOverlay].description); });
rOverlay is undeclared (no 'var') so most browsers will assume you
meant it to be a global variable.
The value of rOverlay will be left as the last value in the loop.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---