[mapserver-users] Changing IMAGECOLOR with PHP MapScript

Hankley, Chip Chip.Hankley at GASAI.Com
Thu Sep 27 16:05:29 EDT 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