comparison flys-client/src/main/webapp/WEB-INF/config.yaml @ 5539:8d0af912351c

Revert config.yaml to usable version. Some changes to Map resizing in DigitizePanel.
author Christian Lins <christian.lins@intevation.de>
date Wed, 03 Apr 2013 15:59:01 +0200
parents 04ccec566689
children a264244b3d63
comparison
equal deleted inserted replaced
5538:ef32ab3c1679 5539:8d0af912351c
23 - 500000 23 - 500000
24 - 1000000 24 - 1000000
25 - 2000000 25 - 2000000
26 - 4000000 26 - 4000000
27 27
28 outputFilename: "flys-${date}.pdf" 28 outputFilename: 'flys-${date}.pdf'
29 29
30 #=========================================================================== 30 #===========================================================================
31 # the list of allowed hosts 31 # the list of allowed hosts
32 #=========================================================================== 32 #===========================================================================
33 hosts: 33 hosts:
52 - !dnsMatch 52 - !dnsMatch
53 host: osm.intevation.de 53 host: osm.intevation.de
54 port: 80 54 port: 80
55 55
56 layouts: 56 layouts:
57 #===========================================================================
58 A4 portrait:
59 #===========================================================================
60 metaData:
61 title: '${title}'
62 author: 'Flys'
63 subject: 'Kartendruck A4 Portrait'
64 keywords: 'map,print'
65 creator: 'd4e-river'
66
67 #-------------------------------------------------------------------------
68 mainPage:
69 pageSize: A4
70 landscape: false
71 header:
72 height: 50
73 items:
74 - !image
75 align: left
76 maxWidth: 60
77 maxHeight: 60
78 url: '${configDir}/../images/FLYS_Logo.png'
79 items:
80 - !text
81 font: Helvetica
82 fontSize: 30
83 align: right
84 text: '${mapTitle}'
85 spacingAfter: 30
86 - !map
87 spacingAfter: 30
88 width: 440
89 height: 483
90 - !scalebar
91 type: bar
92 maxSize: 100
93 barBgColor: white
94 fontSize: 8
95 align: right
96 - !text
97 text: '${comment}'
98 spacingAfter: 30
99 - !text
100 font: Helvetica
101 fontSize: 9
102 align: right
103 text: '1:${scale} ${now MM.dd.yyyy}'
104 - !legends
105 align: left
106 maxIconWidth: 32
107 maxIconHeight: 32
108 footer: *commonFooter
109
57 110
58 #=========================================================================== 111 #===========================================================================
59 A4 landscape: 112 A4 landscape:
60 #=========================================================================== 113 #===========================================================================
61 metaData: 114 metaData:
62 title: "${title}" 115 title: '${title}'
63 author: 'Flys' 116 author: 'Flys'
64 subject: 'Kartendruck A4 Quer' 117 subject: 'Kartendruck A4 Quer'
65 keywords: 'map,print' 118 keywords: 'map,print'
66 creator: 'd4e-river' 119 creator: 'd4e-river'
67 120
70 pageSize: A4 123 pageSize: A4
71 landscape: true 124 landscape: true
72 header: 125 header:
73 height: 50 126 height: 50
74 items: 127 items:
75 - !columns 128 - !image
76 config: 129 align: left
77 cells: 130 maxWidth: 60
78 - paddingBottom: 5 131 maxHeight: 60
79 items: 132 url: '${configDir}/../images/FLYS_Logo.png'
80 - !image
81 align: left
82 maxWidth: 50
83 maxHeight: 50
84 url: "${configDir}/../images/FLYS_Logo.png"
85 - !text
86 font: Helvetica
87 fontSize: 30
88 align: right
89 text: "${mapTitle}"
90
91 items: 133 items:
92 - !map 134 - !text
93 absoluteX: 45 135 font: Helvetica
94 absoluteY: 510 136 fontSize: 30
95 spacingAfter: 200 137 align: right
96 width: 540 138 text: '${mapTitle}'
97 height: 480 139 spacingAfter: 30
98 align: left 140 - !map
141 absoluteX: 45
142 absoluteY: 510
143 #spacingAfter: 30
144 width: 540
145 height: 480
146 align: left
147 - !scalebar
148 type: bar
149 maxSize: 100
150 barBgColor: white
151 fontSize: 8
152 align: right
153 - !text
154 text: '${comment}'
155 spacingAfter: 30
156 - !text
157 font: Helvetica
158 fontSize: 9
159 align: right
160 text: '1:${scale} ${now MM.dd.yyyy}'
161 - !legends
162 align: right
163 maxIconWidth: 32
164 maxIconHeight: 32
165 # - !columns
166 # widths: [500, 200]
167 # items:
168 # - !map
169 # width: 500
170 # height: 500
171 # - !legends
172 footer: *commonFooter
173
174
175 #===========================================================================
176 A0 portrait:
177 #===========================================================================
178 metaData:
179 title: '${title}'
180 author: 'MapFish print module'
181 subject: 'Simple layout'
182 keywords: 'map,print'
183 creator: 'MapFish'
184
185 #-------------------------------------------------------------------------
186 mainPage:
187 pageSize: A0
188 rotation: true
189 header:
190 height: 50
191 items:
192 - !text
193 font: Helvetica
194 fontSize: 30
195 align: right
196 text: '${mapTitle}'
197 items:
198 - !map
199 spacingAfter: 30
200 width: 1760
201 height: 1932
202 - !scalebar
203 type: bar
204 maxSize: 100
205 barBgColor: white
206 fontSize: 8
207 align: right
208 - !text
209 text: '${comment}'
210 spacingAfter: 30
211 - !text
212 font: Helvetica
213 fontSize: 9
214 align: right
215 text: '1:${scale} ${now MM.dd.yyyy}'
216 - !legends
217 align: left
218 maxIconWidth: 32
219 maxIconHeight: 32
220 footer: *commonFooter

http://dive4elements.wald.intevation.org