Hi Paul,

Maybe late to the show, but another strategy would be to explicitly state the 
bgcolor in the WMS request that OpenLayers composes like so:

var wmsmap = new OpenLayers.Layer.WMS(
                    "Service name",
                    url,
                    {
                        width: '600',
                        height: '512',
                        srs: 'EPSG:28992',
                        layers: 'Dutch provinces',
                        styles: '',
                        format: 'image/png',
                        bgcolor: '0x8FCAE7'
                    },
                    {
                        singleTile: true,
                        ratio: 1,
                        attribution: '© 2009 Kadaster',
                        visibility: true,
                        isBaseLayer: true
                    }
);

Hope someone can benefit from this as well.

Cheers,

Edward
                                          
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to