地图标记图标动画(谷歌地图API V2为Android) [英] Map Marker icon animation (Google Maps API V2 for Android)

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

问题描述

在自定义事件,我需要我的标记来更新其绘制的6倍(基本上,我想标记生长和收缩3次,用0.5秒每增长与各个收缩之间的延迟),所以它通知所述事件的用户

On a custom event, I need my Marker to update its drawable 6 times (basically, I want the Marker to grow and shrink 3 times with a delay of 0.5 s between each growth and each shrink) so it notifies the user of said event.

有没有办法实现这一目标,而不必实际删除标记,并用不同的绘制对象再次将其添加

Is there any way to achieve this without actually having to remove the Marker and adding it again with a different Drawable?

推荐答案

恐怕也没办法今天做它没有实际删除的标记,与其他可绘制再次添加它。我已经这样做我自己,企图建立一个进度条。它的工作原理,但它是做一个尴尬的方式。

I'm afraid there is no way to do it today without actually removing the marker and adding it again with another drawable. I have just done so myself in an attempt to create a progress bar. It works, but it is an awkward way of doing it.

点击这里在另一个线程一个很好的解释。

Click here for a good explanation in another thread.

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

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