Wait for the GDirections call to complete, then use directions.getMarker() to obtain a reference to the markers.
It's probably best to .hide() those markers and add your own markers in the same place with the info window content that you want. Just adding your own listeners that open your own info window would leave the markers with calls to create both the GDirections info window details and your info window details, so it might look odd as one info window pops up and gets immediately replaced by the other. -- http://econym.org.uk/gmap The Blackpool Community Church Javascript Team --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
