[Mapserver-users] Set scalebar properties
Dylan Keon
keon@nacse.org
Thu, 22 May 2003 09:45:11 -0700
Stefan Schwarzer wrote:
> Hi list,
>
> I would like to change the size of my scalebar dynamically in
> MapScript/PHP, but couldn't find anything in the mailing list archives.
> Does someone has an idea? Something like
> $scalebar = $map -> scalebarobj();
> $scalebar = set("width", 200);
Try this:
$map->{'scalebar'}->set('width', 200);
--Dylan
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users