Thank you for your quick response!<div><br></div><div>I'm a few steps further already:</div><div>I grouped all line- and polygon-layers together. Setting the background like this now works:</div><div><div><div><div>LAYERS: 'Europe',</div>

<div>STYLES: '',</div><div>format: format,</div><div>bgcolor: '0x001d54',</div><div>transparent: false</div></div></div><div><br></div><div>This results in a full dark blue background. All areas of the map, that are not line or polyon are dark blue now. BUT this just takes me to the next step of the problem. I want to distinguish between land and ocean/sea. The land-areas are somewhat defined by the coastline-layer. But I'm afraid, I will not manage to define a specific color for the area 'inside" the coastline, will I? If I specify a layer only containing the coastline and set the bgcolor for that layer, the whole world is colored as well, not just the area 'inside' the coastlines.</div>

<div><br></div><div>Do you see any other chance to just distinguish land-masses from water like the North Sea? Or do you now any source of high-res-mapdata usable with geoserver? shapefile preferred...?!</div><div><br></div>

<div>Many thanks in advance, </div><div>Andreas</div><div><br></div><div><br></div><div class="gmail_quote">2012/9/6 Andreas Hocevar <span dir="ltr"><<a href="mailto:ahocevar@opengeo.org" target="_blank">ahocevar@opengeo.org</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am not sure if the BGCOLOR parameter works for GeoServer group<br>
layers. Also make sure that the WMS requests don't have a<br>
TRANSPARENT=true parameter. If they do, add 'transparent: false' to<br>
your WMS params.<br>
<br>
Andreas.<br>
<div><div class="h5"><br>
On Thu, Sep 6, 2012 at 10:04 AM, Andreas Schnieders<br>
<<a href="mailto:schnieders.a@gmail.com">schnieders.a@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I have one WMS-BaseLayer specifying a 'worldwide' dark-blue background.<br>
> bgcolor '0xXYZXYZ' works fine there.<br>
><br>
> I as well have three other WMS-Layers with isBaseLayer: false. These are<br>
> geoserver LayerGroups, consisting each of one line-layer and one<br>
> polygon-layer. But bgcolor: '0xsomething' doesn't have any effect in there.<br>
><br>
> What am I doing wrong? Shouldn't it be possible to specify the background<br>
> color so the whole area of the line-polygon-layer not being covered by any<br>
> lines or polygons would have the specified color?<br>
><br>
> Would appreciate any hint!<br>
><br>
> Kind regards,<br>
> Andreas<br>
><br>
</div></div>> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Andreas Hocevar<br>
OpenGeo - <a href="http://opengeo.org/" target="_blank">http://opengeo.org/</a><br>
Expert service straight from the developers.<br>
</font></span></blockquote></div><br></div>