[mapserver-users] legend

Jeppe Lund Andersen JXA at cowi.dk
Fri Mar 28 08:46:42 EDT 2008


Hello all

Iam trying figure out how to control the size ( width and height in
pixel ) of the legend
if I use the following, it ignores the width and height properties and
makes its own width and height that fit the image
is there any way that I can control it ?

$map->set("height", 400);
$map->set("width", 400);
$image=$map->drawLegend();



Jeppe


More information about the mapserver-users mailing list