libandroid-navigation-ui/src/main/java/com/mapbox/services/android/navigation/ui/v5/camera/NavigationCamera.java
@Override
  public void onProgressChange(Location location, RouteProgress routeProgress) {
    if (trackingEnabled) {
      currentRouteInformation = buildRouteInformationFromLocation(location, routeProgress);
      animateCameraFromLocation(currentRouteInformation);
    }
  }
/**
   * Used to update the camera position.
   * <p>
   * {@link Location} is also stored in case the user scrolls the map and the camera
   * will eventually need to return to that last location update.
   *
   * @param location      used to update the camera position
   * @param routeProgress ignored in this scenario
   * @since 0.6.0
   */
Used to update the camera position.

Location is also stored in case the user scrolls the map and the camera
will eventually need to return to that last location update.

@param location      used to update the camera position
@param routeProgress ignored in this scenario
@since 0.6.0
Used to update the camera position . Location is also stored in case the user scrolls the map and the camera will eventually need to return to that last location update . @param location used to update the camera position @param routeProgress ignored in this scenario @since 0 . 6 . 0
@Override
  public void onProgressChange(Location location, RouteProgress routeProgress) {
    if (trackingEnabled) {
      currentRouteInformation = buildRouteInformationFromLocation(location, routeProgress);
      animateCameraFromLocation(currentRouteInformation);
    }
  }
@ Override public void onProgressChange ( Location location , RouteProgress routeProgress ) { if ( trackingEnabled ) { currentRouteInformation = buildRouteInformationFromLocation ( location , routeProgress ) ; animateCameraFromLocation ( currentRouteInformation ) ; } }
Used to update the camera position.
Used to update the camera position .