Mercurial > dive4elements > river
diff flys-client/src/main/webapp/WEB-INF/config.yaml @ 4474:bd78d2b0e309
Map print settings can now be configured via settings window.
Configurable for now are page layout (A0 or A4), caption text and
comment text.
author | Christian Lins <christian.lins@intevation.de> |
---|---|
date | Sun, 11 Nov 2012 14:44:12 +0100 |
parents | dc7e41efd5ba |
children | d9e3660fa462 |
line wrap: on
line diff
--- a/flys-client/src/main/webapp/WEB-INF/config.yaml Sat Nov 10 23:47:38 2012 +0100 +++ b/flys-client/src/main/webapp/WEB-INF/config.yaml Sun Nov 11 14:44:12 2012 +0100 @@ -146,3 +146,50 @@ maxIconWidth: 32 maxIconHeight: 32 footer: *commonFooter + + #=========================================================================== + A0 portrait: + #=========================================================================== + metaData: + title: '${title}' + author: 'MapFish print module' + subject: 'Simple layout' + keywords: 'map,print' + creator: 'MapFish' + + #------------------------------------------------------------------------- + mainPage: + pageSize: A0 + rotation: true + header: + height: 50 + items: + - !text + font: Helvetica + fontSize: 30 + align: right + text: '${mapTitle}' + items: + - !map + spacingAfter: 30 + width: 1760 + height: 1932 + - !scalebar + type: bar + maxSize: 100 + barBgColor: white + fontSize: 8 + align: right + - !text + text: '${comment}' + spacingAfter: 30 + - !text + font: Helvetica + fontSize: 9 + align: right + text: '1:${scale} ${now MM.dd.yyyy}' + - !legends + align: left + maxIconWidth: 32 + maxIconHeight: 32 + footer: *commonFooter