Re: [mapserver-users] Map background color using OL/WMS

2010-05-25 Thread Jeff McKenna
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

Re: [mapserver-users] Map background color using OL/WMS

2010-05-25 Thread 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 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) ... >>

Re: [mapserver-users] Map background color using OL/WMS

2010-05-25 Thread Thomasch
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

Re: [mapserver-users] Map background color using OL/WMS

2010-05-25 Thread Paul james
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

RE: [mapserver-users] Map background color using OL/WMS

2010-05-25 Thread Fawcett, David (MPCA)
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

Re: [mapserver-users] Map background color using OL/WMS

2010-05-25 Thread Thomasch
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;

Re: [mapserver-users] Map background color using OL/WMS

2010-05-26 Thread Paul james
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? >> >

RE: [mapserver-users] Map background color using OL/WMS

2010-05-27 Thread Edward Mac Gillavry
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