> Any ideas on how I can loop this so each time the onGDirectionsLoad
> function is called it can give the direction a new name and similar in
> the init . Something like...
>
> var i = 1; //global variable!

Have a look into use of javascript arrays, its very common to use
these for storage of overlays in conjunction with the maps API

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