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.
我想实现跟踪器,当用户启动应用程序时,应用程序应该跟踪他的位置,并且应该在 googlemap api v2 上绘制路径。我怎么能做到这一点。
使用这段代码,即使位置发生变化,它也会自动刷新:
mGoogleMap.setMyLocationEnabled(true);