@Test public void testWMSLayer() { Layer[] wmsLayers = WMSUtils.getNamedLayers(server.getCapabilities()); WMSLayer l = new WMSLayer(server, wmsLayers[0]); assertNotNull(l); List<StyleImpl> styles = wmsLayers[0].getStyles(); assertEquals(4, styles.size()); l = new WMSLayer(server, wmsLayers[0], styles.get(1).getName()); WMSLayer l2 = new WMSLayer(server, wmsLayers[0], styles.get(3).getName()); assertNotNull(l2); }
public WMSLayer(WebMapServer wms, Layer layer) { super(new WMSCoverageReader(wms, layer), STYLE); }
WMSLayer extends GridReaderLayer { public WMSLayer(WebMapServer wms, Layer layer) { super(new WMSCoverageReader(wms, layer), STYLE); } }
WMSLayer extends GridReaderLayer { public WMSLayer(WebMapServer wms, Layer layer) { super(new WMSCoverageReader(wms, layer), STYLE); } WMSLayer(WebMapServer wms, Layer layer);  WMSLayer(WebMapServer wms, Layer layer, String style);  WMSLayer(WebMapServer wms, Layer layer, String style, String imageFromat); }
WMSLayer extends GridReaderLayer { public WMSLayer(WebMapServer wms, Layer layer) { super(new WMSCoverageReader(wms, layer), STYLE); } WMSLayer(WebMapServer wms, Layer layer);  WMSLayer(WebMapServer wms, Layer layer, String style);  WMSLayer(WebMapServer wms, Layer layer, String style, String imageFromat); WMSCoverageReader getReader(); synchronized ReferencedEnvelope getBounds(); String getFeatureInfoAsText(DirectPosition2D pos, int featureCount); InputStream getFeatureInfo(DirectPosition2D pos, String infoFormat, int featureCount); InputStream getFeatureInfo(
            ReferencedEnvelope bbox,
            int width,
            int height,
            int x,
            int y,
            String infoFormat,
            int featureCount); WebMapServer getWebMapServer(); List<Layer> getWMSLayers(); List<String> getWMSStyles(); CoordinateReferenceSystem getCoordinateReferenceSystem(); GetMapRequest getLastGetMap(); void addLayer(Layer layer); void addLayer(Layer layer, String style); boolean isNativelySupported(CoordinateReferenceSystem crs); }
WMSLayer extends GridReaderLayer { public WMSLayer(WebMapServer wms, Layer layer) { super(new WMSCoverageReader(wms, layer), STYLE); } WMSLayer(WebMapServer wms, Layer layer);  WMSLayer(WebMapServer wms, Layer layer, String style);  WMSLayer(WebMapServer wms, Layer layer, String style, String imageFromat); WMSCoverageReader getReader(); synchronized ReferencedEnvelope getBounds(); String getFeatureInfoAsText(DirectPosition2D pos, int featureCount); InputStream getFeatureInfo(DirectPosition2D pos, String infoFormat, int featureCount); InputStream getFeatureInfo(
            ReferencedEnvelope bbox,
            int width,
            int height,
            int x,
            int y,
            String infoFormat,
            int featureCount); WebMapServer getWebMapServer(); List<Layer> getWMSLayers(); List<String> getWMSStyles(); CoordinateReferenceSystem getCoordinateReferenceSystem(); GetMapRequest getLastGetMap(); void addLayer(Layer layer); void addLayer(Layer layer, String style); boolean isNativelySupported(CoordinateReferenceSystem crs);  }