Hi,
Is there an easy way to get access to the objects/properties of the markers and infowindows created by the DirectionsRenderer? (i.e. the "A" and "B" endpoints of the route)
I'm looking to replace the "A" & "B" markers' infowindows with one that I've created (containing dynamic content) from another "non-route" marker.
I've tried to copy the content from the previous infowindow into the new "route one" like this below, but it doesn't render properly (too many ancestor div & styling constraints).
//infowin is a reference to the infowindow attached to the marker
result.routes[0].legs[0].end_address = MarkersArray[i].infowin.getContent();
Thanks, E