// Obtain the travel time between the two points
showStatus("Obtaining travel time estimate...");
final TravelTimeEstimator estimator =
TravelTimeEstimator.getInstance();
TravelTime travelTime;
if (endTime > 0) {
travelTime =
estimator.requestDepartureEstimate(startPoint,
endPoint, endTime, null);
} else {