driver-legacy/src/main/com/mongodb/QueryBuilder.java
public QueryBuilder withinCenterSphere(final double longitude, final double latitude, final double maxDistance) {
        addOperand(QueryOperators.WITHIN,
                   new BasicDBObject(QueryOperators.CENTER_SPHERE,
                                     asList(asList(longitude, latitude), maxDistance)));
        return this;
    }
public QueryBuilder withinCenterSphere(final double longitude, final double latitude, final double maxDistance) {
        addOperand(QueryOperators.WITHIN,
                   new BasicDBObject(QueryOperators.CENTER_SPHERE,
                                     asList(asList(longitude, latitude), maxDistance)));
        return this;
    }
Equivalent of the $centerSphere operand mostly intended for queries up to a few hundred miles or km.

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