简体   繁体   English

谷歌地图 API:更改标记 animation 速度

[英]Google Maps API: Change marker animation speed

Google Maps API v3 currently supports two types of animation for markers : DROP and BOUNCE Google Maps API v3目前支持两种类型的animation标记:DROP 和 BOUNCE

Is there a way I can speed up the BOUNCE or slow down the DROP animation?有没有办法可以加快BOUNCE 或减慢DROP animation?

Google Maps API doesn't support animation properties or customization, just the ability to select "drop" or "bounce" as you said.谷歌地图 API 不支持 animation 属性或自定义,仅支持 select 如您所说的“下降”或“反弹”。

It should be possible to apply custom animations to marker elements through jQuery or other framework.应该可以通过 jQuery 或其他框架将自定义动画应用于标记元素。 Alternatively you could supply an animated GIF as a marker.或者,您可以提供动画 GIF 作为标记。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM