function drivingDistance(origin, destination) {
  const directions = getDirections_(origin, destination);
  return directions.routes[0].legs[0].distance.value;
}
A custom function that gets the driving distance between two addresses.

@param {String} origin The starting address.
@param {String} destination The ending address.
@return {Number} The distance in meters.