[OpenLayers-Users] bgcolor for WMS not working
Andreas Hocevar
ahocevar at opengeo.org
Thu Sep 6 02:00:47 PDT 2012
I am not sure if the BGCOLOR parameter works for GeoServer group
layers. Also make sure that the WMS requests don't have a
TRANSPARENT=true parameter. If they do, add 'transparent: false' to
your WMS params.
Andreas.
On Thu, Sep 6, 2012 at 10:04 AM, Andreas Schnieders
<schnieders.a at gmail.com> wrote:
> Hi,
>
> I have one WMS-BaseLayer specifying a 'worldwide' dark-blue background.
> bgcolor '0xXYZXYZ' works fine there.
>
> I as well have three other WMS-Layers with isBaseLayer: false. These are
> geoserver LayerGroups, consisting each of one line-layer and one
> polygon-layer. But bgcolor: '0xsomething' doesn't have any effect in there.
>
> What am I doing wrong? Shouldn't it be possible to specify the background
> color so the whole area of the line-polygon-layer not being covered by any
> lines or polygons would have the specified color?
>
> Would appreciate any hint!
>
> Kind regards,
> Andreas
>
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
--
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
More information about the Users
mailing list