libandroid-navigation-ui/src/main/java/com/mapbox/services/android/navigation/ui/v5/route/RouteViewModel.java
private void extractCoordinatesFromOptions(NavigationViewOptions options) {
    if (options.origin() != null && options.destination() != null) {
      cacheRouteProfile(options);
      cacheRouteLanguage(options, null);
      Point origin = options.origin();
      destination.setValue(options.destination());
      fetchRouteFromCoordinates(origin, destination.getValue());
    }
  }
/**
   * Extracts the {@link Point} coordinates, adds a destination marker,
   * and fetches a route with the coordinates.
   *
   * @param options containing origin and destination
   */
Extracts the  Point coordinates, adds a destination marker,
and fetches a route with the coordinates.

@param options containing origin and destination
Extracts the Point coordinates adds a destination marker and fetches a route with the coordinates . @param options containing origin and destination
private void extractCoordinatesFromOptions(NavigationViewOptions options) {
    if (options.origin() != null && options.destination() != null) {
      cacheRouteProfile(options);
      cacheRouteLanguage(options, null);
      Point origin = options.origin();
      destination.setValue(options.destination());
      fetchRouteFromCoordinates(origin, destination.getValue());
    }
  }
private void extractCoordinatesFromOptions ( NavigationViewOptions options ) { if ( options . origin ( ) != null && options . destination ( ) != null ) { cacheRouteProfile ( options ) ; cacheRouteLanguage ( options , null ) ; Point origin = options . origin ( ) ; destination . setValue ( options . destination ( ) ) ; fetchRouteFromCoordinates ( origin , destination . getValue ( ) ) ; } }
Extracts the {@link Point} coordinates, adds a destination marker,
 and fetches a route with the coordinates.
Extracts the { @link Point } coordinates adds a destination marker and fetches a route with the coordinates .