title: Display a link "Show directions" in infowindow
body: <p>I have a map with several markers. I'd need to be able to display a link "Show directions" in the markers infowindow that would take the users to the maps.google.com and display the directions.</p>
  
  <pre><code>function setMarkers(map, locations) {
  
      for (var i = 0; i &lt; locations.length; i++) {
          var shop = locations[i];
          var myLatLng = new google.maps.LatLng(shop[1], shop[2]);
          var nimi = shop[0];
          var osoite = shop[5];
          var puhelinnumero = shop[3];
          var verkkosivu = shop[4];
          var content = "&lt;div class='content'&gt;&lt;h3&gt;"+nimi+"&lt;/h3&gt;&lt;strong&gt;Osoite:&lt;/strong&gt; "+osoite+"&lt;br /&gt;&lt;strong&gt;Puhelinnumero:&lt;/strong&gt; "+puhelinnumero+"&lt;br /&gt;&lt;strong&gt;Verkkosivu:&lt;/strong&gt; &lt;a href='"+verkkosivu+"' target='_blank'&gt;"+verkkosivu+"&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href='http://maps.googleapis.com/maps/api/directions/json?origin=Vuonotie 19, 05200 Rajamäki&amp;destination="+osoite+"'&gt;Reittiohjeet&lt;/a&gt;&lt;/div&gt;";
          var marker = new google.maps.Marker({
              position: myLatLng,
              map: map,
              title: shop[0]
          });
  
          var infowindow = new google.maps.InfoWindow()
  
          google.maps.event.addListener(marker,'click', (function(marker,content,infowindow){ 
              return function() {
                  infowindow.setContent(content);
                  infowindow.open(map,marker);
              };
          })(marker,content,infowindow));  
      }
  }
  </code></pre>
  
  <p>Is there a way to add something like <a href="http://maps.google.com/?from=address&amp;to=address" rel="nofollow">http://maps.google.com/?from=address&amp;to=address</a>?</p>