public WmsLayer createLayer ( String title , String crs , TileConfiguration tileConfig , WmsLayerConfiguration layerConfig , WmsLayerInfo layerInfo ) { if ( layerInfo == null || layerInfo . isQueryable ( ) ) { return new FeatureInfoSupportedWmsLayer ( title , crs , layerConfig , tileConfig , layerInfo ) ; } else { return new WmsLayerImpl ( title , crs , layerConfig , tileConfig , layerInfo ) ; } }
Create a new WMS layer . This layer does not support a GetFeatureInfo call! If you need that you ll have to use the server extension of this plug - in .