[mapserver-users] Scalebar Object in PHP Mapscript

Steve.Toutant at inspq.qc.ca Steve.Toutant at inspq.qc.ca
Thu Jun 16 13:29:08 EDT 2011


Hi,
I create a scalebar like this
$oMap->scalebar->set("units", MS_METERS);
$oMap->scalebar->outlinecolor->setRGB(0,0,0);
$oMap->scalebar->set("status", MS_EMBED);

And create an image of the map with the scalebar embedded
On the image, the map is well scaled but the scalebar is not.

Is the code above good? Is there some more parameters I should set?
thanks
Steve

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110616/c22aa4f0/attachment.html


More information about the mapserver-users mailing list