In Google Maps API v2 we can set to marker an option bouncy:true. It adds to marker eye-candy ability – after dragging this marker, it is bouncing.
Is it possible to do in API v3 ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I just had a quick look at the API v3 spec for Markers – it doesn’t look like the ‘bouncy’ option is available right now but I wouldn’t be surprised to see this get implemented into the v3 API at some point – it’s still in Beta and bound to change quite a bit.
If you really wanted the behavior in a V3 Map now you could tie an event to the ‘dragend’ method on the Marker Object. Have the function called alter the anchor point of the MarkerImage object – check out the MarkerImage object in the API too.