title: Google Map v3 marker click function problem and trigger external link
body: <p>i am using google map v3 api i would like to show information bubble. For example when i click the marker any marker the function will open the related bubble. On the other hand i would like to trigger all bubble with external link. I tink that <code>marker, 'click', function </code> should be each function. I've tried a lot of example but i didn't work it.</p>
  
  <p>Here is my test addres:
  <a href="http://www.gercekustu.com/test/" rel="nofollow">http://www.gercekustu.com/test/</a></p>
  
  <p>Here is my code:</p>
  
  <pre><code>function getGoogleMap(Altitude, Latitude, Address) {
              //var myLatlng = new google.maps.LatLng(Altitude, Latitude, Address);
              var image = 'icon.png';
  
              var myOptions = {
                  zoom: 10,
                  center: new google.maps.LatLng(-33.9, 151.2),
                  mapTypeId: google.maps.MapTypeId.ROADMAP
              }
  
              var map = new google.maps.Map(document.getElementById("googleMap"), myOptions);
  
              var locations = [
                  ['Test içeriği5', -33.890542, 151.274856, 5],
                  ['Test içeriği4', -33.923036, 151.259052, 4],
                  ['Test içeriği3', -34.028249, 151.157507, 3],
                  ['Test içeriği2', -33.80010128657071, 151.28747820854187, 2],
                  ['Test içeriği1', -33.950198, 151.259302, 1]
              ];
  
              for (var i = 0; i &lt; locations.length; i++) {
                  //var image = new google.maps.MarkerImage('icon' + i + '.png',
                  var image = new google.maps.MarkerImage('icon.png',
                  new google.maps.Size(40, 34),
                  new google.maps.Point(0, 0),
                  new google.maps.Point(10, 34));
  
                  var location = locations[i];
                  //alert(location[3]);
                  var myLatLng = new google.maps.LatLng(location[1], location[2]);
                  var marker = new google.maps.Marker({
                      position: myLatLng,
                      map: map,
                      icon: image,
                      title: location[0],
                      zIndex: location[3]
                  });
  
                  var infowindow = new google.maps.InfoWindow({
                      content: location[0],
                      position: myLatLng
                  });
  
                  google.maps.event.addListener(marker, 'click', function () {
                      infowindow.open(map);
                  });
  
              }
              infowindow.open(map);
          }
  </code></pre>
  
  <p>Thank you for your help</p>