Thanks again Jody. The PolygonSymbolizer did the trick.
JJ. From: Jody Garnett [mailto:jody.garn...@gmail.com] Sent: Tuesday, August 11, 2015 12:28 PM To: Jair Santos <jsantos5...@gmail.com> Cc: GeoServer Mailing List List <geoserver-users@lists.sourceforge.net> Subject: Re: [Geoserver-users] Layer Transparency Do you have an image showing where you are at? I assume that you are talking transparency where you have no features (to control feature transparency use PolygonSymbolizer opacity). You may wish to ask on the open layers list? -- Jody Garnett On 11 August 2015 at 12:10, Jair Santos <jsantos5...@gmail.com <mailto:jsantos5...@gmail.com> > wrote: Hello all, Is there anything that I have to set in geoserver to make a layer transparent? I’ve been trying several different settings in Openlayers but nothing works. new ol.layer.Image({ source: new ol.source.ImageWMS({ url: 'http://192.168.1.113:8080/geoserver/wms?transparent=true', params: { 'LAYERS': 'pzones' }, /* transparent:true,*/ projection: projection, format: 'image/png', serverType: 'geoserver' }, {singleTile: true, ratio: 1, isBaseLayer: false, Opacity: 0.5} ) }), Thanks. JJ ------------------------------------------------------------------------------ _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net <mailto:Geoserver-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
_______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users