title: Lock Google Maps on Users Location
body: <p>I want the google map in my application to always be perfectly centered on the user, and move with them as their current location changes. (Think pokemon go, how the map actually moves with the user)</p>
  
  <p>My current best implementation simply updates the camera location with an animation every time the location is changed, like so:</p>
  
  <pre><code>            // update the location of the camera based on the new latlng, but keep the zoom, tilt and bearing the same
          CameraUpdate cameraUpdate = CameraUpdateFactory.newCameraPosition(new CameraPosition(latLng,
                      googleMap.getCameraPosition().zoom, MAX_TILT, googleMap.getCameraPosition().bearing));
          googleMap.animateCamera(cameraUpdate);
  
          googleMap.setLatLngBoundsForCameraTarget(toBounds(latLng, 300));
  </code></pre>
  
  <p>This however makes the camera movement somewhat choppy and it lags behind the actual user location marker, especially if the user is moving quickly.</p>
  
  <p>Is there a way to tie the movement of the google maps camera so it exactly matches the movement of the user?</p>