code: protected Bbox getTotalBounds(List<Feature> features) {
  		Bbox total = null;
  		for (Feature featureDto : features) {
  			org.geomajas.geometry.Geometry geom = featureDto.getGeometry();
  			if (geom != null) {
  				Bbox b = GeometryService.getBounds(geom);
  				if (total == null) {
  					total = b;
  				} else {
  					total = BboxService.union(total, b);
  				}
  			}
  		}
  		return total;
  	}
docs: Get the total bounds of all features in the collection.
  
  @param features
  @return bounds or null if no features