Hi,
multi columns legends should be supported by mapfish-print 2.0 and 2.1.
Unfortunately Geoserver 2.5 is still based on mapfish-print 1.2, but the
upcoming 2.6 has been upgraded to 2.1, so you should be able to get what
you are asking for.
Note that the yaml you are referring to is compatible with our internal
experimental version, but some functionality has not been ported to the
official release yet, so probably you will need to change a bit your
configuration to make it work.
You can find the official configuration documentation for 2.6 print plugin
here:
http://docs.geoserver.org/latest/en/user/extensions/printing/configuration.html
2014-08-25 20:03 GMT+02:00 Макс Кливер <[email protected]>:
> Hi
>
> I have a legend block in my config:
>
> - !columns
>> #This line determines if the legend is shown in the
>> template.
>> condition: legends
>> absoluteX: 56
>> absoluteY: 764
>> width: 280
>> config:
>> borderWidth: 1
>> borderColor: black
>> cells:
>> - padding: 5
>> backgroundColor: white
>> items:
>> - !legends
>> failOnBrokenUrl: false
>> horizontalAlignment: left
>> iconMaxWidth: 0
>> iconMaxHeight: 500
>> maxHeight: 535
>> maxColumns: 2
>> maxWidth: 780
>> layerSpace: 5
>> layerFontSize: 12
>> classIndentation: 5
>> classFontSize: 8
>> classSpace: 4
>> backgroundColor: #ffffff
>> reorderColumns: true
>> dontBreakItems: true
>> overflow: true
>> maxIconHeight: 0
>>
>
> And i exepect that it print legend in two columns but it do not do it. I
> take this gonfig here http://cageyjames.webfactional.com/?cat=1276 and
> on example i see that this legend configuration generate legend in two
> columns.
> What can be wrong?
>
>
> ------------------------------------------------------------------------------
> 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