title: google.maps.event.addListenerOnce Maps API V3
body: <p>Hi so I have a draggable, editable rectangle object here:</p>
  
  <pre><code>rectangle = new google.maps.Rectangle({
      map: map,
      bounds: bounds,
      editable: true,
      draggable: true
  });
  </code></pre>
  
  <p>Then I have two listeners for rectangle:</p>
  
  <pre><code>google.maps.event.addListener(rectangle, 'mouseup', function () {
      foo2()
  });
  </code></pre>
  
  <p>The first listener calls foo1() which does not require much processing, and is required to run every time 'bounds_changed' occurs.</p>
  
  <p>The second listener calls foo2() when there is a 'mouseup' event on the rectangle(I use this mouse up as a 'dragend').
  I also want foo2() to be called when 'bounds_changed' occurs since the rectangle is editable by the user. However foo2() requires a lot of processing so I only want it called at the end of 'bounds_changed'.</p>
  
  <p>I've tried adding the listener once:</p>
  
  <pre><code>google.maps.event.addListenerOnce(rectangle, 'bounds_changed', function () {
     foo2();
  });
  </code></pre>
  
  <p>But this only works one time.</p>