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" "0x8B0000"

No color change...

To test your MapServer mapfile I recommend using the shp2img commandline utility (http://www.mapserver.org/utilities/shp2img.html). Once you have shp2img's resulting map image looking like you want, then you can test in your application. (this is how I would debug your problem, if I was hitting your issue)

-jeff


--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/


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

Reply via email to