public DirectionsApiRequest waypoints(LatLng... waypoints) {
    Waypoint[] objWaypoints = new Waypoint[waypoints.length];
    for (int i = 0; i < waypoints.length; i++) {
      objWaypoints[i] = new Waypoint(waypoints[i]);
    }
    return waypoints(objWaypoints);
  }
The list of waypoints as latitude/longitude locations.

<p>See {@link #waypoints(Waypoint...)}.

@param waypoints The waypoints to add to this directions request.
@return Returns this {@code DirectionsApiRequest} for call chaining.
src/main/java/com/google/maps/DirectionsApiRequest.java