Is there any way to target the Info Window x Close button to "drop"/Stop the bouncing animation when the info window is closed?
Code: <code> var infowindow = new google.maps.InfoWindow({ content: contentString }); marker = new google.maps.Marker({ map:map, draggable:false, animation: google.maps.Animation.DROP, title:"Marker 1", position: latlng }); google.maps.event.addListener(marker, 'click', function() { infowindow.open(map,marker); }); google.maps.event.addListener(marker, 'click', toggleBounce); } /*Set Animation of Marker Bounce*/ function toggleBounce() { if(marker.getAnimation() != null){ marker.setAnimation(null); }else{ marker.setAnimation(google.maps.Animation.BOUNCE); } } </code> -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.