I want to add an info window to the final destination of a route. I searched the net but found that to add an info window I must create a new object. Note that I have a static starting point and the end point is dynamically taken it's latitude/longitude from database. So all I want to have is an info window with custom text appeared when the B icon, the end point is clicked.
This example is pretty similar with my situation: http://jsfiddle.net/gHK7s/2/
var directionsDisplay = new google.maps.DirectionsRenderer({
draggable: true
});
Hope you guys can help me out with this.Thank you.