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 Map API v1 中,我可以通过编写扩展 MyLocationOverlay 的类来更改“我的位置”图标。但我不知道如何在 Google API v2 中做到这一点。请帮我解决这个问题。
我认为,v2 不支持自定义位置图标,但您可以通过禁用您的位置并设置自定义位置侦听器来解决它,该侦听器会在每次位置更新时添加/更新您的自定义地面覆盖。