driver-legacy/src/main/com/mongodb/QueryBuilder.java
public QueryBuilder nearSphere(final double longitude, final double latitude, final double maxDistance) {
        addOperand(QueryOperators.NEAR_SPHERE,
                   asList(longitude, latitude));
        addOperand(QueryOperators.MAX_DISTANCE,
                   maxDistance);
        return this;
    }
public QueryBuilder nearSphere(final double longitude, final double latitude, final double maxDistance) {
        addOperand(QueryOperators.NEAR_SPHERE,
                   asList(longitude, latitude));
        addOperand(QueryOperators.MAX_DISTANCE,
                   maxDistance);
        return this;
    }
Equivalent of the $nearSphere operand

@param longitude   coordinate in decimal degrees
@param latitude    coordinate in decimal degrees
@param maxDistance max spherical distance
@return {@code this}