title: Google Maps API infoWindow.close() does nothing
body: <pre><code>function bindInfoWindow(marker, map, infoWindow, html) {
  
      //infoWindow.close(); &lt;---- ignore this one
  
        google.maps.event.addListener(marker, 'click', function() {
  
          infoWindow.close();
  
          infoWindow.setContent(html);
          infoWindow.open(map, marker);
        });
      }
  </code></pre>
  
  <p>This is my function with the listener for when a marker is clicked but regardless to what I do the infoWindows will NOT close unless I click them they just stay on the screen when I click them and sometimes I get an error that there is no Close function. Someone help please!</p>