谷歌地图API:更改标记动画速度 [英] Google Maps API: Change marker animation speed

查看:365
本文介绍了谷歌地图API:更改标记动画速度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谷歌地图API第3版目前支持两种类型的动画标记:DROP和弹跳

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

有没有一种方法可以让我的加快反弹或放缓的DROP动画?

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

推荐答案

谷歌地图API不支持动画属性或定制,就像你说的,选择下降或反弹的能力。

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

这应该可以应用自定义动画标记通过的jQuery或其他框架元素。另外,您可以提供一个GIF动画作为标记。

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.

这篇关于谷歌地图API:更改标记动画速度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆