KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to bounce a pin on a google map once. The following code will make the marker bounce but it just keeps going... myPin.setAnimation(google.maps.Animation.BOUNCE); Then calling myPin.setAnimation(null); 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 setTimeout(function(){ myPin.setAnimation(null); }, 1000); Make the bounce animation end prematurely and look terrible. Does anyone know of a better way to accomplish this?
Tags (comma-separated)
Save Edits
Cancel