Paul james wrote:
Hello all...
I have a Mapserver WMS application (using OL) ...
How can I set the map background color?
I tried to use :
MAP
IMAGECOLOR 230 254 254
...
Without success...
Tried too :
METADATA
"wms_bgcolor" "0x8B"
No color change...
To test your MapServer ma
Thanks Jeff...
But do you know how change map background ? Using Mapscript IMAGECOLOR works
fine...
With CGI/WMS/OL i cant get that to work...
Paul
On Tue, May 25, 2010 at 9:23 AM, Jeff McKenna wrote:
> Paul james wrote:
>
>> Hello all...
>> I have a Mapserver WMS application (using OL) ...
>>
Am 25.05.2010 20:21, schrieb Paul james:
Thanks Jeff...
But do you know how change map background ? Using Mapscript IMAGECOLOR works
fine...
With CGI/WMS/OL i cant get that to work...
Paul
Just a guess - I think you have to change the backround of your Map in
the Client Side. If you don't have
Thanks Thomas...
But how can I change the backround in Client Side?
Paul
Just a guess - I think you have to change the backround of your Map in the
> Client Side. If you don't have only one Layer, your wms Layers should be
> transparent. And as wms serves only Layers, there is no way to change th
users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Paul james
Sent: Tuesday, May 25, 2010 2:37 PM
To: thomas...@gmx.de
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Map background color using OL/WMS
Thanks Thomas...
But how can I chang
Am 25.05.2010 21:36, schrieb Paul james:
Thanks Thomas...
But how can I change the backround in Client Side?
Just find the Id of your DIV containing yout map and change the
backgound Color. Maybe there is in the Styles Secion someting like
#map {
width: 800px;
Thanks for help...
I changed the background in Openlayers CSS config:
div.olMap {
background-color: #e6fefe;
}
Paul
On Tue, May 25, 2010 at 6:02 PM, Thomasch wrote:
> Am 25.05.2010 21:36, schrieb Paul james:
>
> Thanks Thomas...
>> But how can I change the backround in Client Side?
>>
>
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,
{
w