Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
谷歌地图中的一些标记在放大时会出现。但是,当用户将地图拖动到不同的地方时,标记会消失,当您再次将其拖动到上一个位置时,标记开始在您面前动画(我希望你得到我想说的)。我想知道是否有这样的方法可以做到这一点。谢谢。
同样的事情也发生在 Google Maps Android API v2 中的街道名称、公园等。
在撰写本文时,不支持标记透明度。您必须自己编写代码:发布到 Handler 直到动画完成,并在每个“帧”设置新图标,增加不透明度。