Android Google Maps API V2 Zoom to Current Location

前端 未结 9 1756
时光说笑
时光说笑 2020-11-28 04:37

I\'m trying to mess around with the Maps API V2 to get more familiar with it, and I\'m trying to start the map centered at the user\'s current location. Using the map.

9条回答
  •  一向
    一向 (楼主)
    2020-11-28 05:31

    youmap.animateCamera(CameraUpdateFactory.newLatLngZoom(currentlocation, 16));
    

    16 is the zoom level

提交回复
热议问题