title: google.maps.event.trigger not run when map reload
body: <p>I have a project using Google maps api v3, and I am using <code>google.maps.event.trigger</code> to call or trigger the listener that is created when the map loads. In this case I set listener at polygon click, so when polygon is clicked, it opens the relevant infowindow and <code>google.maps.event.trigger</code> is set on another block of function in the same javascript file.
  It is running well when the whole web program is reloaded. But when I reload the map or map is re-initialized with the polygon with same variable object, the syntax <code>google.maps.event.trigger</code> does not run. This is my function that is using <code>google.maps.event.trigger</code></p>
  
  <pre><code> function callInfoPoly(nomor){
      alert(polygon[nomor].getPath().getAt(0));
      google.maps.event.trigger(polygon[nomor], "click");
      }
  </code></pre>
  
  <p>the alert runs well, it means the variable contains the polygon object, but <code>google.maps.event.trigger</code> doesn't run.</p>