code: private static double getLength(BoundingBox boundingBox) {
  
  		double width = boundingBox.getMaxLongitude()
  				- boundingBox.getMinLongitude();
  		double height = boundingBox.getMaxLatitude()
  				- boundingBox.getMinLatitude();
  		double length = Math.min(width, height);
  
  		return length;
  	}
docs: Get the length of the bounding box
  
  @param boundingBox
  @return length