code: protected MapConfiguration createTmsMap(String crs, CrsType type, Bbox bounds, int minTileSize,
  			int nrOfZoomLevels) {
  		MapConfigurationImpl mapConfiguration;
  		mapConfiguration = new MapConfigurationImpl();
  		mapConfiguration.setCrs(crs, type);
  		double minSize = bounds.getWidth() >= bounds.getHeight() ? bounds.getHeight() : bounds.getWidth();
  		List<Double> resolutions = new ArrayList<Double>();
  		for (int i = 0; i < nrOfZoomLevels; i++) {
  			resolutions.add(minSize / (minTileSize * Math.pow(2, i)));
  		}
  		mapConfiguration.setResolutions(resolutions);
  		mapConfiguration.setMaxBounds(Bbox.ALL);
  		mapConfiguration.setHintValue(MapConfiguration.INITIAL_BOUNDS, bounds);
  		return mapConfiguration;
  	}
docs: Create a map with a local profile and specified crs, bounds and number of zoom levels. The resolution at level 0
  is based on mapping the bounds to a rectangular tile width minimum width and height of minTileSize pixels.
  
  @param crs
  @param type
  @param bounds
  @param minTileSize
  @param nrOfZoomLevels
  @return