comparison flys-client/src/main/webapp/WEB-INF/config.yaml @ 5753:6f166b8b5eda

Rework layout for issue 767
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 18 Apr 2013 10:43:23 +0200
parents e8b4c69967e2
children b73de25c01b4
comparison
equal deleted inserted replaced
5752:b6f8fd50269b 5753:6f166b8b5eda
137 align: left 137 align: left
138 absoluteY: 575 138 absoluteY: 575
139 width: 587 139 width: 587
140 height: 555 140 height: 555
141 spacingAfter: 0 141 spacingAfter: 0
142 # The scale text
143 - !columns
144 absoluteX: 620
145 absoluteY: 30
146 width: 60
147 items:
148 - !text
149 fontSize: 8
150 text: '1:${scale}'
151 fontEncoding: Identity-H
152 font: FreeSans
153 backgroundColor: #FFFFFF
154 # The north arrow
155 - !columns
156 absoluteX: 627
157 absoluteY: 65
158 width: 32
159 items:
160 - !image
161 maxWidth: 20
162 maxHeight: 40
163 url: '${configDir}/../images/north.png'
142 #Flys and BFG Logo 164 #Flys and BFG Logo
143 - !columns 165 - !columns
144 absoluteX: 750 166 absoluteX: 760
145 absoluteY: 110 167 absoluteY: 70
146 width: 60 168 width: 50
147 items: 169 items:
148 - !image 170 - !image
149 maxWidth: 60 171 maxWidth: 50
150 maxHeight: 60 172 maxHeight: 50
151 url: '${configDir}/../images/FLYS_Logo.png' 173 url: '${configDir}/../images/FLYS_Logo.png'
152 - !columns 174 - !columns
153 absoluteX: 630 175 absoluteX: 665
154 absoluteY: 110 176 absoluteY: 70
155 width: 90 177 width: 75
156 items: 178 items:
157 - !image 179 - !image
158 maxWidth: 90 180 maxWidth: 75
159 maxHeight: 60 181 maxHeight: 50
160 url: '${configDir}/../images/bfg_logo.gif' 182 url: '${configDir}/../${logo}'
161 # Legend header, a bit hackish with the border
162 # but I don't know how to put two rows in a column and I don't want to
163 # use tables
164 # - !columns
165 # absoluteX: 612
166 # absoluteY: 575
167 # width: 200
168 # items:
169 # - !text
170 # text: "Legende:"
171 # align: center
172 # config:
173 # borderWidthLeft: 1
174 # borderWidthRight: 1
175 # borderWidthTop: 1
176 # borderWidthBottom: 0
177 # Scalebar 183 # Scalebar
178 - !columns 184 - !columns
179 absoluteX: 620 185 absoluteX: 460
180 absoluteY: 35 186 absoluteY: 40
181 width: 200 187 width: 150
182 items: 188 items:
183 - !scalebar 189 - !scalebar
184 type: bar 190 type: bar
185 maxSize: 200 191 maxSize: 150
186 barSize: 5 192 barSize: 5
187 barBgColor: white 193 barBgColor: white
188 fontSize: 8 194 fontSize: 8
189 195 backgroundColor: #FFFFFF
190 # The legend 196 # The legend
191 - !columns 197 - !columns
192 absoluteX: 612 198 absoluteX: 612
193 absoluteY: 575 199 absoluteY: 390
194 width: 200 200 width: 200
195 items: 201 items:
196 - !legends 202 - !legends
197 maxHeight: 325 203 maxHeight: 325
198 maxWidth: 0 204 maxWidth: 0
199 maxIconHeight: 0 205 maxIconHeight: 0
200 inline: false 206 inline: true
201 classIndentation: 10 207 classIndentation: 10
202 layerSpace: 5 208 layerSpace: 0
203 classSpace: 2 209 classSpace: 5
204 layerFontSize: 0 210 layerFontSize: 0
205 classFontSize: 10 211 classFontSize: 10
206 fontEncoding: Identity-H 212 fontEncoding: Identity-H
207 classFont: FreeSans 213 classFont: FreeSans
208 layerFont: FreeSans 214 layerFont: FreeSans
209 columnMargin: 2
210 defaultScale: 0.5 215 defaultScale: 0.5
211 config: 216 config:
212 borderWidthLeft: 1 217 borderWidthLeft: 1
213 borderWidthRight: 1 218 borderWidthRight: 1
214 borderWidthTop: 1 219 borderWidthTop: 1
215 borderWidthBottom: 1 220 borderWidthBottom: 1
221 # Title of the map
222 - !columns
223 absoluteX: 612
224 absoluteY: 575
225 width: 200
226 condition: mapTitle
227 items:
228 - !text
229 text: '${mapTitle}'
230 # align: center
231 # cells:
232 # padding: 5
216 # The Stamp 233 # The Stamp
217 - !columns 234 - !columns
218 absoluteX: 612 235 absoluteX: 612
219 absoluteY: 270 236 absoluteY: 555
220 width: 200 237 width: 200
221 # config: 238 # config:
222 # borderWidthLeft: 5 239 # borderWidthLeft: 5
223 # borderWidthRight: 5 240 # borderWidthRight: 5
224 # borderWidthTop: 5 241 # borderWidthTop: 5
264 text: '${value}' 281 text: '${value}'
265 fontEncoding: Identity-H 282 fontEncoding: Identity-H
266 font: FreeSans 283 font: FreeSans
267 fontSize: 10 284 fontSize: 10
268 backgroundColor: #FFFFFF 285 backgroundColor: #FFFFFF
269 # The scale text
270 - !columns
271 absoluteX: 617
272 absoluteY: 55
273 width: 200
274 items:
275 - !text
276 fontSize: 10
277 text: 'Maßstab: 1:${scale}'
278 fontEncoding: Identity-H
279 font: FreeSans
280 config:
281 cells:
282 - padding: 5

http://dive4elements.wald.intevation.org