title: Move the marker along the with map as the user moves
body: <p>I have implemented google map into my app. I have added a custom marker at my current location.I want to move the marker as the user moves, along with the map. I want to implement the functionality as in google maps navigation. While googling i found the following links but did not get the result. so can any one help me out ?</p>
  
  <p>I have added this in onLocationChanged()</p>
  
  <pre><code> LatLng latLng = new LatLng(location.getLatitude(), location.getLongitude());
          sourceLocation = latLng;
          startPoint = new GeoPoint(latLng.latitude,latLng.longitude);
          forNavigation = location;
  
         //  animation
          mMap.moveCamera(CameraUpdateFactory.newLatLng(latLng));
          // Zoom in the Google Map
          mMap.animateCamera(CameraUpdateFactory.zoomTo(15));
         // mMap.animateCamera(CameraUpdateFactory.newLatLngZoom(mPositionMarker.getPosition(), 15));
          mMap.animateCamera(CameraUpdateFactory.newLatLng(new LatLng(location
                  .getLatitude(), location.getLongitude())));
  </code></pre>
  
  <p>These are the links which i found
  <a href="https://stackoverflow.com/questions/33499992/google-map-moving-marker-and-map-together-smoothly-along-with-user?rq=1">Google map: moving marker and map together smoothly along with user?</a></p>
  
  <p><a href="https://stackoverflow.com/questions/26091591/how-to-smoothly-keep-moving-current-location-marker-in-google-maps-v2-android">How to smoothly keep moving current location marker in Google Maps v2 android</a></p>