private WmsLayer getLayer ( String layerId ) { RasterLayer layer = configurationService . getRasterLayer ( layerId ) ; if ( layer instanceof WmsLayer ) { return ( WmsLayer ) layer ; } return null ; }
Given a layer ID search for the WMS layer .