コード例 #1
0
 @Override
 public void animateToGeoPoint(LatLng geoPoint) {
   LatLng center = new LatLng(geoPoint.latitude, geoPoint.longitude);
   googleMap.animateCamera(CameraUpdateFactory.newLatLng(center));
 }
コード例 #2
0
 @Override
 public void animateToLocation(Location location) {
   LatLng center = new LatLng(location.getLongitude(), location.getLongitude());
   googleMap.animateCamera(CameraUpdateFactory.newLatLng(center));
 }