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.
我想使用 Gmaps 应用程序中我们都知道的蓝色指南针。
是否有可用的小部件我只需要打开?
添加MyLocationOverlay到您的地图中enableCompass(),然后onResume()调用disableCompass(). 这是一个展示这一点的项目。onPause()
MyLocationOverlay
enableCompass()
onResume()
disableCompass()
onPause()