[mapserver-users] Changing IMAGECOLOR with PHP MapScript

Hankley, Chip Chip.Hankley at GASAI.Com
Thu Sep 27 13:05:29 PDT 2001


Can someone please show me how to change the background color of my map with
PHP MapScript.

This is the basics of what I've tried so far...

$map = ms_newMapObj("GB01.map");

$map->set("imagecolor", 0 0 0);
 -or-
$map->set("imagecolor", setRGB(0, 0, 0));

...neither seem to be working.

TIA

Chip Hankley



More information about the MapServer-users mailing list