Why do custom styled Google Maps (v3) not support marker animation (pin drop)?

Posted by Plum Pie on Stack Overflow See other posts from Stack Overflow or by Plum Pie
Published on 2010-12-21T16:45:24Z Indexed on 2010/12/21 17:54 UTC
Read the original article Hit count: 179

For example, I cannot combine the concepts of this simple example: link text with the concepts of this example: link text, which uses the styled V3 api.

In Chrome I get an error saying that:

Uncaught TypeError: Cannot read property 'DROP' of undefined

And it refers to this line of code:

animation: google.maps.Animation.DROP,

When I replace the javascript link reference to use the version of the API from the first example, the error goes away, but I lose the custom styling. I have not tried this in Firefox or IE.

EDIT: Link to example: link text

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about google-maps