title: Google maps API V3 - DirectionsRendererOptions and custom content in InfoWindow
body: <p>I am trying to implement a map/direction based application using Google maps V3 API. So far I have been able to display the map and show directions for two locations selected. </p>
  
  <p>However I am unable to set custom content on the InfoWindow using DirectionsRendererOptions. Given below is what I am using.</p>
  
  <pre><code>var renderer = new google.maps.DirectionsRenderer(
                          {
                             infoWindow : new google.maps.InfoWindow(
                             {
                                 content : "This is a test"
                             }
                           )}); 
  </code></pre>
  
  <p>It seems the custom InfoWindow is getting set, because when the disableAutoPan property is set on the new InfoWindow, the expected behavior happens. However the content is not set.</p>
  
  <p>Is there a way that I can access the content of the InfoWindow (generated by DirectionsRenderer) and also update it ?</p>
  
  <p>Thanks in advance.</p>