public WmsLayer createLayer(String baseUrl, WmsService.WmsVersion version, WmsLayerInfo layerInfo,
								ViewPort viewPort, int tileWidth, int tileHeight) {
		TileConfiguration tileConf = createTileConfig(layerInfo, viewPort, tileWidth, tileHeight);
		WmsLayerConfiguration layerConf = createLayerConfig(layerInfo, baseUrl, version);
		return createLayer(layerInfo.getTitle(), viewPort.getCrs(), tileConf, layerConf, layerInfo);
	}
public WmsLayer createLayer ( String baseUrl , WmsService . WmsVersion version , WmsLayerInfo layerInfo , ViewPort viewPort , int tileWidth , int tileHeight ) { TileConfiguration tileConf = createTileConfig ( layerInfo , viewPort , tileWidth , tileHeight ) ; WmsLayerConfiguration layerConf = createLayerConfig ( layerInfo , baseUrl , version ) ; return createLayer ( layerInfo . getTitle ( ) , viewPort . getCrs ( ) , tileConf , layerConf , layerInfo ) ; }
<p>Create a new WMS layer. Use this method if you want to create a WMS layer from a GetCapabilities object you
have just acquired.</p> <p>This layer does not support a GetFeatureInfo call! If you need that, you'll have to
use the server extension of this plug-in.</p>

@param baseUrl    The WMS base URL. This is the same URL you fed the GetCapabilities call. See {@link
WmsService#getCapabilities(String,
org.geomajas.gwt2.plugin.wms.client.service.WmsService.WmsVersion,
com.google.gwt.core.client.Callback)}.
@param version    The WMS version.
@param layerInfo  The layer info object. Acquired from a WMS GetCapabilities.
@param viewPort   The ViewPort to get the CRS and fixed resolutions from.
@param tileWidth  The tile width in pixels.
@param tileHeight The tile height in pixels.
@return A new WMS layer.