code: private MapConfiguration createMapConfiguration(ClientMapInfo mapInfo, MapPresenter mapPresenter) {
  		MapConfiguration configuration = mapPresenter.getConfiguration();
  		configuration.setCrs(mapInfo.getCrs(), mapInfo.getUnitLength());
  		configuration.setHintValue(MapConfiguration.INITIAL_BOUNDS, mapInfo.getInitialBounds());
  		configuration.setMaxBounds(mapInfo.getMaxBounds());
  		configuration.setMinimumResolution(1 / mapInfo.getScaleConfiguration().getMaximumScale().getPixelPerUnit());
  		List<Double> resolutions = new ArrayList<Double>();
  		for (ScaleInfo scale : mapInfo.getScaleConfiguration().getZoomLevels()) {
  			resolutions.add(1 / scale.getPixelPerUnit());
  		}
  		if (resolutions.size() != 0) {
  			configuration.setResolutions(resolutions);
  		}
  		configuration.setHintValue(MAPINFO, mapInfo);
  		return configuration;
  	}
docs: ------------------------------------------------------------------------