-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WMS GetLegendGrapics: with LAYERFONTSIZE and ITEMFONTSIZE equal to 0, the labels should not be drawn. #1355
Conversation
GetLegendGraphics: if LAYERFONTSIZE and ITEMFONTSIZE url parameters are equal to 0, do not draw legend labels.
assigned to @mhugent |
Hi Luca, Can you do a "git rebase -i master" to squash the commits Thanks |
@rldhont thank you for your answer. I'm new to github, and maybe I made confusion with my pull request. I did all via github web (editing the file from web, the github made a fork and then finally I did a pull request). Is it wrong? Is there some tutorial on the correct way to do this? (command line version is accepted :D) |
@mhugent any news? It would be nice to have this pull request before string freeze. It would be a great addition, as you can see in the comments, for Qgis Web Server and Leaflet |
@luca76 : no worry, it will be committed before feature freeze on Friday. I just think it would be more intuitive to have additional request parameters that tell to leave away layer title / item text (e.g. LAYERTITLE=false / RULELABEL=false). But that is only a minor change |
@mhugent you're right, those parameters (LAYERTITLE and RULELABEL) would be better. If you want, tomorrow I'll do a new pull request. |
I must correct myself (from last post): it is possible to enable transparency simply by adding "&TRANSPARENT=true" to the URL. So the background color is useless (it can easily be set in the HTML code) |
Right. |
As subject, for the WMS request GetLegendGrapics:
if I set LAYERFONTSIZE and ITEMFONTSIZE to 0, the labels should not be drawn.
Useful for Qgis Web Client, you can get the graphic of the symbol and put it in the layer tree (in the left panel) without labels, since there is already the layer name in the layer tree.