title: Bounce a pin in google maps once
body: <p>I want to bounce a pin on a google map once. The following code will make the marker bounce but it just keeps going...</p>
  
  <pre><code>myPin.setAnimation(google.maps.Animation.BOUNCE);
  </code></pre>
  
  <p>Then calling </p>
  
  <pre><code>myPin.setAnimation(null);
  </code></pre>
  
  <p>makes the animation stop. Setting a timeout works but the duration of a bounce doesn't look like it is a round number so doing this</p>
  
  <pre><code>  setTimeout(function(){ myPin.setAnimation(null); }, 1000);
  </code></pre>
  
  <p>Make the bounce animation end prematurely and look terrible.</p>
  
  <p>Does anyone know of a better way to accomplish this?</p>