Wasn't it Harford Hackerspace (Squintz) who wrote: >I still don't understand what I need to do. I tried creating an array >to hold multiple gdirection objects but I ran into a problem with the >callback. How do I tell the callback which gdirection object to >reference.
You can use Function Closure, just like you would when listening for click events on markers. -- Mike Williams http://econym.org.uk/gmap --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
