title: Close infowindow when another marker is clicked
body: <p>I have the following code to open an infowindow when a specific marker is click and it open a window. Does anyone know how to close the previous infowindow when another one is clicked?.</p>
  
  <pre><code>   google.maps.event.addListener(marker, 'click', function() {
              infowindow.open(map1, marker);
          });
  </code></pre>