show/hide labels

Yeewen Sat yeewen at petromap.com
Mon Jan 15 18:14:37 EST 2001


Hi,

Is there a way to turn off/on labels associated with objects through mapserv
CGI? I know that you can set the LABELMAXSCALE to control the labels, but
can you specifically instruct mapserv CGI to do that by passing parameters
to it? Or, maybe through mapscript?

These labels are LABELITEM in LAYER object defined in mapfile.

An alternate approach I have in mind is to put the labels on a separate
layer than the objects. But, if I can keep it the way it is (ie. same
layer), it would be a better solution.

Thanks.
Yee Wen

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


More information about the mapserver-users mailing list