comparison flys-client/src/main/webapp/WEB-INF/config.yaml @ 4969:555fa2774d3c

Map printing in landscape mode. Layout still buggy.
author Christian Lins <christian.lins@intevation.de>
date Thu, 07 Feb 2013 22:43:30 +0100
parents 8af500d62098
children 04ccec566689
comparison
equal deleted inserted replaced
4968:d76705b68e73 4969:555fa2774d3c
1 #=========================================================================== 1 #===========================================================================
2 # allowed DPIs 2 # allowed DPIs
3 #=========================================================================== 3 #===========================================================================
4 dpis: [254, 190, 127, 56] 4 dpis: [254, 190, 127, 72, 56]
5 5
6 #=========================================================================== 6 #===========================================================================
7 # allowed Formats 7 # allowed Formats
8 #=========================================================================== 8 #===========================================================================
9 formats: ['*'] 9 formats: ['*']
40 host: tile.openstreetmap.org 40 host: tile.openstreetmap.org
41 port: 80 41 port: 80
42 - !dnsMatch 42 - !dnsMatch
43 host: www.pegelonline.wsv.de 43 host: www.pegelonline.wsv.de
44 port: 80 44 port: 80
45 - !dnsMatch
46 host: geo4.service24.rlp.de
47 port: 80
45 # Catch all 48 # Catch all
46 #- !dnsMatch 49 #- !dnsMatch
47 # host: #regex that catches host plus path 50 # host: #regex that catches host plus path
48 # port: 80 51 # port: 80
49 - !dnsMatch 52 - !dnsMatch
62 creator: 'd4e-river' 65 creator: 'd4e-river'
63 66
64 #------------------------------------------------------------------------- 67 #-------------------------------------------------------------------------
65 mainPage: 68 mainPage:
66 pageSize: A4 69 pageSize: A4
67 rotation: true 70 landscape: false
68 header: 71 header:
69 height: 50 72 height: 50
70 items: 73 items:
71 - !image 74 - !image
72 align: left 75 align: left
116 creator: 'd4e-river' 119 creator: 'd4e-river'
117 120
118 #------------------------------------------------------------------------- 121 #-------------------------------------------------------------------------
119 mainPage: 122 mainPage:
120 pageSize: A4 123 pageSize: A4
121 rotation: false 124 landscape: true
122 header: 125 header:
123 height: 50 126 height: 50
124 items: 127 items:
125 - !image 128 - !image
126 align: left 129 align: left
133 fontSize: 30 136 fontSize: 30
134 align: right 137 align: right
135 text: '${mapTitle}' 138 text: '${mapTitle}'
136 spacingAfter: 30 139 spacingAfter: 30
137 - !map 140 - !map
138 spacingAfter: 30 141 absoluteX: 45
139 width: 440 142 absoluteY: 510
140 height: 483 143 #spacingAfter: 30
144 width: 540
145 height: 480
146 align: left
141 - !scalebar 147 - !scalebar
142 type: bar 148 type: bar
143 maxSize: 100 149 maxSize: 100
144 barBgColor: white 150 barBgColor: white
145 fontSize: 8 151 fontSize: 8
151 font: Helvetica 157 font: Helvetica
152 fontSize: 9 158 fontSize: 9
153 align: right 159 align: right
154 text: '1:${scale} ${now MM.dd.yyyy}' 160 text: '1:${scale} ${now MM.dd.yyyy}'
155 - !legends 161 - !legends
156 align: left 162 align: right
157 maxIconWidth: 32 163 maxIconWidth: 32
158 maxIconHeight: 32 164 maxIconHeight: 32
165 # - !columns
166 # widths: [500, 200]
167 # items:
168 # - !map
169 # width: 500
170 # height: 500
171 # - !legends
159 footer: *commonFooter 172 footer: *commonFooter
160 173
161 174
162 #=========================================================================== 175 #===========================================================================
163 A0 portrait: 176 A0 portrait:

http://dive4elements.wald.intevation.org