[OpenLayers-Users] Re: How to get rid of white background from WMS

ziseq v.zich at email.cz
Sun Apr 8 14:16:02 EDT 2012


Yes,
you are right, it returns as JPG. Thanks a lot 


Frank Sokolic wrote
> 
> Hi Vita,
> 
> Are your tiles perhaps being returned as JPGs? Have you tried using PNG,
> which supports tranparency. When making your WMS call using "new
> OpenLayers.Later.WMS(..." try including the following two parameters:
> transparent:true, format:'image/png'
> 
> Frank.
> 
> 
> 
> 
> 
> 
> 
> From: v.zich@
> Sent:2012-04-08 15:38:01
> To: openlayers-users at .osgeo
> Cc: 
> Subject: [OpenLayers-Users] How to get rid of white background from WMS
> Hi everyone, 
> I need to add a WMS layer of points as a overlay to OSMlayer as a base 
> layer. 
> But afterwards it shows these points with white background, and the
> OSMlayer 
> is only visible after hide overlay layer. Changing opacity doesn't help me 
> cause it inflicts that points are more transparent too. 
> 
> Thanks for advice or some idea how to do that. 
> 
> Vita Zich 
> 
> -- 
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/How-to-get-rid-of-white-background-from-WMS-tp4708409p4708409.html 
> Sent from the OpenLayers Users mailing list archive at Nabble.com. 
> _______________________________________________ 
> Users mailing list 
> Users at .osgeo 
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
> 
> _______________________________________________
> Users mailing list
> Users at .osgeo
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
> 


--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Re-How-to-get-rid-of-white-background-from-WMS-tp4708500p4708909.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list