Hi David, >From a user point of view, using both desktop and server, I would go to the second option with a configuration setting. I think it should apply to all the classes of a layer, as soon as one of the class symbols reaches max size, just don't scale any of the symbols in the legend. This way you won't have a wrong legend, with some classes still being scaled and bigger classes fixed. Thanks for tackling this, it's a real issue for most users. Best regards Régis
Le mar. 19 févr. 2019 à 10:03, David Signer <[email protected]> a écrit : > Hi there > > I'm struggling with the following issue > https://issues.qgis.org/issues/21309 summarized like this: > *When using map units as symbol size and having a max value in mm, this > value is always taken in the GetLegendGraphics request with QGIS Server, > what leads to huge symbols there (same in legend of print layout).* > > I think it's not always needed to adapt the exact size to the legend. > So I see three approaches: > - Don't adapt the size to the legend at all > - Provide a configuration "Maximum size for legend" > - Provide a max size property for the server (does not solve it for print > composer) > > Where I would prefer the "Maximum size for legend" configuration. > > What do you think? > > Thanks > Dave > > > David Signer > [email protected] > +41 (0)78 766 13 03 <+41787661303> > [image: OPENGIS.ch Logo] <http://www.opengis.ch> > > > _______________________________________________ > QGIS-Developer mailing list > [email protected] > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________ QGIS-Developer mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
