function lengthToDegrees(distance, units) {
    return radiansToDegrees(lengthToRadians(distance, units));
}
Convert a distance measurement (assuming a spherical Earth) from a real-world unit into degrees
Valid units: miles, nauticalmiles, inches, yards, meters, metres, centimeters, kilometres, feet

@name lengthToDegrees
@param {number} distance in real units
@param {string} [units="kilometers"] can be degrees, radians, miles, inches, yards, metres,
meters, kilometres, kilometers.
@returns {number} degrees