Hi,
I’m using the OpenLayers add-on.
I’m trying to display a WMS layer on an OpenLayersMap. The problem is that the layer is only displayed in small scales. And it’s not displayed totally: there is always a part that stays hidden.
I have no problem when displaying the same layer in OpenLayers in classic HTML+Javascript.
The code I’m using is as follows:
WebMapServiceLayer wms = new WebMapServiceLayer();
wms.setUri("http://10.3.9.41:8080/geoserver/wms");
wms.setLayers("baboa");
wms.setDisplayName("Mi capa");
wms.setTransparent(true);
wms.setProjection("EPSG:2154");
wms.setFormat("image/png");
wms.setBaseLayer(false);
map.addLayer(wms);
Do you have any hint ?
Regards.