title: Don`t open infoWindow with custom marker. (Google maps)
body: <p>I need to open an <code>infoWindow</code> on <code>customMarker</code>.</p>
  
  <p>The InfoWindow is not opening. "Click" doesn't work on:</p>
  
  <pre><code>$google.maps.event.addDomListener(overlay, 'click', function () {
          console.log("test");
          iw.open(map, this);
          });
  </code></pre>
  
  <p>Here is my code: </p>
  
  <pre><code>$.getJSON(jsonShops, function(places) {
      for (var i = 0, index = 0; i &lt; places.shops.length; i++, index++) {
          var bounds = new google.maps.LatLng(places.shops[i].lat, places.shops[i].lng);
          var overlay = new MarkerSOverlay(bounds, alphabet.charAt(index), map);
  
          var iw = new google.maps.InfoWindow({
              content: "Simple",                
              position: bounds
          });
  
  
          google.maps.event.addDomListener(overlay, 'click', function () {
              console.log("test");
              iw.open(map, this);
          });
  }
  </code></pre>