In the Google Maps API v2, we can set an option to mark bouncy:true. It adds the ability of a marker eye candy - after dragging this marker, it bounces.
bouncy:true
Can this be done in API v3?
I just quickly looked at the v3 API specification for Markers - it doesnโt seem like the โbouncyโ option is available right now, but I wouldnโt be surprised to see that it is implemented in the v3 API at some points - it is still in beta and may change a little.
, V3 "dragend" Marker. MarkerImage - MarkerImage API.
V3
google.maps.event.addListener(marker, "dragend", function(){ marker.setAnimation(google.maps.Animation.BOUNCE); });
, V3 Google, , , .
z-index z- , .