[mapserver-users] How setting the legend color from mapscript

Andrea Peri aperi2007 at gmail.com
Sat Oct 31 14:50:21 PDT 2015


Hi,

I try to have a set like this:

  LEGEND
    IMAGECOLOR 255 255 255

using a python mapscript code.

My code is this:

    msMap = mapscript.mapObj()
   ....
    legendColor = mapscript.colorObj(255,255,255,0)
    msMap.legend.imagecolor=legendColor

But the mapfile dont have the

    IMAGECOLOR 255 255 255

Is imagecolor supported in the python mapscript ?

Thx,

-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------



More information about the MapServer-users mailing list