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

2009-12-08 Thread Steve . Toutant
Hi, 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 definition. 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

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

2009-12-08 Thread Yewondwossen Assefa
Hi Steve, Have you tried to add width and height parameters in your request with the rule specified: ...width=20height=20Format=gifRULE=my_rule That should allow you to get the exact size. If not I believe the default sizes are taken from the keysize parameter legend block in the map file.