[Mapserver-users] mapscript legendObj size
forum master
forumq4u@hotmail.com
Mon, 05 Apr 2004 17:35:27 +0000
Hi All,
I am having a problem getting a legendObj to draw to a specified size. I set
the width and height and the properties reflect the change, yet the legend
draws at a small size (same size always) regardless of what width/height is
set. Here is the code:
...
$map->legend->set('width',400);
echo $map->legend->width; // prints 400
$image = $map->drawLegend();
$image->saveWebImage(MS_PNG,1,1,0); // prints a png legend that is
too small
Thanks,
-fq4u
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users