[OpenLayers-Users] Change the background color of the WMS layer

Sarah Schuessler sarah_flip at yahoo.de
Fri Jul 16 03:09:08 EDT 2010


Hi,

try using .png or .gif images.


best regards
Sarah




________________________________
Von: Jehanzeb Orakzai <jehanzeb_orakzai at yahoo.com>
An: users at openlayers.org
Gesendet: Donnerstag, den 15. Juli 2010, 21:16:34 Uhr
Betreff: [OpenLayers-Users] Change the background color of the WMS layer


Hi,

I have a problem with my with WMS Layer:
 
I have a raster image in tif format. When I overlay it in the map, A
black background builds at the null-value-area. Now in the map it is also 
shown as black and annoys the visual appearance. Is it possible to 
switch it into transparent? 
 
I have tried to change the opacity and transparent:true in the layer params, but 
it does'nt work.

(I am using GeoServer and OpenLayers)

Any help is appreciated.

 
Thank you,
--
Jehanzeb 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100716/a225d506/attachment.html


More information about the Users mailing list