How to display my location on Google Maps for Android API v2

前端 未结 6 2015
抹茶落季
抹茶落季 2020-12-07 15:03

I\'ve looked high and low for an answer on this, and no one, in any forum question has been able to help. I\'ve searched through the tutorials. The API Guide says:

6条回答
  •  日久生厌
    2020-12-07 15:28

    Call GoogleMap.setMyLocationEnabled(true) in your Activity, and add this 2 lines code in the Manifest:

    
    
    

提交回复
热议问题