[mapserver-users] Map background color using OL/WMS
Paul james
pauljame at gmail.com
Wed May 26 12:55:24 PDT 2010
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 <thomaschx at gmx.de> wrote:
> 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
>
> <style>
>
> #map {
> width: 800px;
> height: 500px;
> float: left;
> border: 1px solid #ccc;
> }
> [...]
> </style>
>
> Just add background-color:#FFDDDD like
>
> <style>
>
> #map {
> width: 800px;
> height: 500px;
> float: left;
> border: 1px solid #ccc;
> background-color:#FFDDDD
> }
> [...]
> </style>
>
>
> Thomasch
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100526/7d3bd52f/attachment.htm>
More information about the MapServer-users
mailing list