title: How to close POI's InfoWindow?
body: <p>I'm trying to make POI's <code>InfoWindow</code> close when click a link.</p>
  
  <p>I overrided the setContent of InfoWindow like this:</p>
  
  <pre><code>//override the built-in setContent-method
  google.maps.InfoWindow.prototype.setContent = function (content) {              
      content = content.innerHTML + '&lt;br/&gt; &lt;a href="#" onclick="onSavePlace();"&gt;Save place&lt;/a&gt;';
      //run the original setContent-method
      fx.apply(this, arguments);
  };
  </code></pre>
  
  <p>Note: I didn't create any <code>InfoWindow</code> object to reference to use <code>close()</code> method.</p>