[mapserver-users] GetLegendGraphic, class name, no label

Steve.Toutant at inspq.qc.ca Steve.Toutant at inspq.qc.ca
Tue Dec 8 16:22:57 EST 2009

I'm using GetLegendGraphic to get an icon.
I don't want any label so I don't give a class name in the layer 

I have a layer with several classes. I would like to get the icon for the 
last class only, without the label.
I tried to use RULE=className in the request, and give a className to my 
last class, but the icon is distorted, too big.

If I keep only one class (the last one I want) in the mapfile, without a 
classname, and without RULE key in the request the icon I get is good.

Is there some more information I need to use RULE key in the request? 
Maybe I misunderstood this key uses.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20091208/459dde80/attachment.html

More information about the mapserver-users mailing list