title: Google Maps API V3 Event
body: <p>I'm wanting this code</p>
  
  <pre><code>   google.maps.event.addListener(map, 'click', function(event) {
        var marker = new google.maps.Marker({
        position: event.latLng
     }); 
        var outsideContent = "my content";
         infowindow.setContent(outsideContent);
        infowindow.open(map, marker);
        });
  </code></pre>
  
  <p>to open an info window if the map is clicked where an overlay/polygon is not present. However, the code isn't executing. </p>