[mapserver-users] labelObj question - PHP
Dylan Keon
keon@nacse.org
Mon, 04 Nov 2002 17:21:47 -0800
I'd like to change label text size and symbol size for a couple of
layers as part of a conditional statement in PHP MapScript. I'm able to
change the symbol size just fine:
$layer = $map->getLayerByName('sites');
$layerClass = $layer->getClass(0);
$layerClass->set('size', 16);
However, I can't figure out how to change the label text size. I see
there is a labelObj member to classObj, but can't seem to figure out the
correct syntax to access it. Can someone give me a hint?
Thanks. :-)