open_in_new
content_copy
double distance = shopLocation.distanceTo(driverLocation); double km = (distance / 1000);