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