Hi,
first of all note that the print module for 2.5.2 is still based on the old
mapfish-print 1.2 library.
In the upcoming 2.6 we have upgraded to 2.1, which has many new options,
but from what I remember it still doesn't support what you are asking for.
We have an experimental release of mapfish-print we use internally for our
customers projects that supports this (look here:
https://github.com/geosolutions-it/mapfish-print/wiki/Legend-fitting).
Unfortunately this functionality has not been ported to the official
release yet due to lack of funding.
If you want to give it a try, here you can find some documentation on
installing the experimental version:
https://github.com/geosolutions-it/mapfish-print/wiki
Mauro
2014-08-24 13:24 GMT+02:00 Макс Кливер <[email protected]>:
> Hi.
>
>
> I have a Geoserver 2.5.2 with print module.
> I have a problem with legend block becouse in my application a lot of
> layers. It's mean that height of legend block is too much to show it in A4
> or A3 page formats.
> So how can i set fixed height to legend block?
> Here is my legend config:
>
> - !legends
> backgroundColor: #FFFFFF
> borders: true
> horizontalAlignment: left
> inline: true
> maxHeight: 50
> maxWidth: 550
> defaultScale: 0.5
> iconMaxWidth: 80
> iconMaxHeight: 80
> iconPadding: 3 0 0 0
> columnMargin: 10
> classIndentation: 3
> classSpace: 5
> backgroundColor: white
> layerFontSize: 9
> font: FreeSans
> fontEncoding: UTF-8
> maxIconHeight: 0
>
>
>
>
> ------------------------------------------------------------------------------
> Slashdot TV.
> Video for Nerds. Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users