Google Maps API: Change marker animation speed

2019-02-21 22:16发布

Google Maps API v3 currently supports two types of animation for markers: DROP and BOUNCE

Is there a way I can speed up the BOUNCE or slow down the DROP animation?

1条回答
手持菜刀,她持情操
2楼-- · 2019-02-21 23:05

Google Maps API doesn't support animation properties or customization, just the ability to select "drop" or "bounce" as you said.

It should be possible to apply custom animations to marker elements through jQuery or other framework. Alternatively you could supply an animated GIF as a marker.

查看更多
登录 后发表回答