[OpenLayers-Users] problem about display two layers

Christopher Schmidt crschmidt at metacarta.com
Wed May 13 07:25:39 EDT 2009


On Wed, May 13, 2009 at 01:33:22AM -0700, sasi wrote:
> 
> When i display two layers with openlayers, I can only see the second layer.
> After i set the second layer opacity=0.5, I can see the both layers. But the
> line
> in the second layer seems to be transparent too. And the first layers seems 
>  not be very visibility.
> So, can i change only the background to transparent, and keep the line to be
> opacity?

transparent: true parameter in the WMS params.

> The map comes from geoserver.
> Thanks!
> -- 
> View this message in context: http://n2.nabble.com/problem-about-display-two-layers-tp2879776p2879776.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> 
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users

-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list