[OpenLayers-Users] Change Background-Color of WMS-Layer

Arnd Wippermann arnd.wippermann at web.de
Thu Sep 3 18:49:16 EDT 2009


If you not use jpeg as output, then i think, you have mapserverside to
declare a background color for your WMS.

Arnd

-----Ursprüngliche Nachricht-----
Von: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org] Im
Auftrag von Maren Kiehl
Gesendet: Donnerstag, 3. September 2009 23:48
An: users at openlayers.org
Betreff: Re: [OpenLayers-Users] Change Background-Color of WMS-Layer

I tried it, but it doesn't work.

Arnd Wippermann schrieb:
> Hi,
>
> Try transparent:true in the layer params.
>
> Arnd
>
> -----Ursprüngliche Nachricht-----
> Von: users-bounces at openlayers.org 
> [mailto:users-bounces at openlayers.org] Im Auftrag von Maren Kiehl
> Gesendet: Donnerstag, 3. September 2009 17:53
> An: users at openlayers.org
> Betreff: [OpenLayers-Users] Change Background-Color of WMS-Layer
>
> Hi at all.
>
> I have a problem with my with WMS-Layer:
> After georeference my picture for overlaying it in the map a black 
> background was built 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?
>
> Thanks for your help.
> Best regards,
> Maren
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>   

_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users




More information about the Users mailing list