comparison 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
comparison
equal deleted inserted replaced
4473:6db783627137 4474:bd78d2b0e309
144 - !legends 144 - !legends
145 align: left 145 align: left
146 maxIconWidth: 32 146 maxIconWidth: 32
147 maxIconHeight: 32 147 maxIconHeight: 32
148 footer: *commonFooter 148 footer: *commonFooter
149
150 #===========================================================================
151 A0 portrait:
152 #===========================================================================
153 metaData:
154 title: '${title}'
155 author: 'MapFish print module'
156 subject: 'Simple layout'
157 keywords: 'map,print'
158 creator: 'MapFish'
159
160 #-------------------------------------------------------------------------
161 mainPage:
162 pageSize: A0
163 rotation: true
164 header:
165 height: 50
166 items:
167 - !text
168 font: Helvetica
169 fontSize: 30
170 align: right
171 text: '${mapTitle}'
172 items:
173 - !map
174 spacingAfter: 30
175 width: 1760
176 height: 1932
177 - !scalebar
178 type: bar
179 maxSize: 100
180 barBgColor: white
181 fontSize: 8
182 align: right
183 - !text
184 text: '${comment}'
185 spacingAfter: 30
186 - !text
187 font: Helvetica
188 fontSize: 9
189 align: right
190 text: '1:${scale} ${now MM.dd.yyyy}'
191 - !legends
192 align: left
193 maxIconWidth: 32
194 maxIconHeight: 32
195 footer: *commonFooter

http://dive4elements.wald.intevation.org