Mercurial > dive4elements > river
comparison flys-client/src/main/webapp/WEB-INF/config.yaml @ 5572:a264244b3d63
Rewrite landscape map layout so that it is more in line with desktop flys
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Thu, 04 Apr 2013 19:21:09 +0200 |
parents | 8d0af912351c |
children | 2fa6da26a142 |
comparison
equal
deleted
inserted
replaced
5571:d0c8cfb493f5 | 5572:a264244b3d63 |
---|---|
50 # host: #regex that catches host plus path | 50 # host: #regex that catches host plus path |
51 # port: 80 | 51 # port: 80 |
52 - !dnsMatch | 52 - !dnsMatch |
53 host: osm.intevation.de | 53 host: osm.intevation.de |
54 port: 80 | 54 port: 80 |
55 - !dnsMatch | |
56 host: osm.wheregroup.com | |
57 port: 80 | |
55 | 58 |
56 layouts: | 59 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 | |
110 | |
111 #=========================================================================== | 60 #=========================================================================== |
112 A4 landscape: | 61 A4 landscape: |
113 #=========================================================================== | 62 #=========================================================================== |
114 metaData: | 63 metaData: |
115 title: '${title}' | 64 title: '${title}' |
116 author: 'Flys' | 65 author: 'Flusshydrologische Software' |
117 subject: 'Kartendruck A4 Quer' | 66 subject: 'Kartendruck A4 Quer' |
118 keywords: 'map,print' | 67 keywords: 'map,print' |
119 creator: 'd4e-river' | 68 creator: 'd4e-river' |
120 | 69 |
121 #------------------------------------------------------------------------- | 70 #------------------------------------------------------------------------- |
122 mainPage: | 71 mainPage: |
72 # 842 * 595 | |
123 pageSize: A4 | 73 pageSize: A4 |
124 landscape: true | 74 landscape: true |
125 header: | 75 marginLeft: 20 |
126 height: 50 | 76 marginRight: 20 |
127 items: | 77 marginTop: 20 |
128 - !image | 78 marginBottom: 20 |
129 align: left | |
130 maxWidth: 60 | |
131 maxHeight: 60 | |
132 url: '${configDir}/../images/FLYS_Logo.png' | |
133 items: | |
134 - !text | |
135 font: Helvetica | |
136 fontSize: 30 | |
137 align: right | |
138 text: '${mapTitle}' | |
139 spacingAfter: 30 | |
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: | 79 items: |
198 - !map | 80 - !map |
199 spacingAfter: 30 | 81 absoluteX: 20 |
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 | 82 align: left |
218 maxIconWidth: 32 | 83 absoluteY: 575 |
219 maxIconHeight: 32 | 84 width: 592 |
220 footer: *commonFooter | 85 height: 555 |
86 spacingAfter: 0 | |
87 #Flys and BFG Logo | |
88 - !columns | |
89 absoluteX: 747 | |
90 absoluteY: 100 | |
91 width: 60 | |
92 items: | |
93 - !image | |
94 maxWidth: 60 | |
95 maxHeight: 60 | |
96 url: '${configDir}/../images/FLYS_Logo.png' | |
97 - !columns | |
98 absoluteX: 732 | |
99 absoluteY: 160 | |
100 width: 90 | |
101 items: | |
102 - !image | |
103 maxWidth: 90 | |
104 maxHeight: 60 | |
105 url: '${configDir}/../images/bfg_logo.gif' | |
106 # Legend header, a bit hackish with the border | |
107 # but I don't know how to put two rows in a column and I don't want to | |
108 # use tables | |
109 - !columns | |
110 absoluteX: 612 | |
111 absoluteY: 575 | |
112 width: 200 | |
113 items: | |
114 - !text | |
115 text: "Legende:" | |
116 align: center | |
117 config: | |
118 borderWidthLeft: 1 | |
119 borderWidthRight: 1 | |
120 borderWidthTop: 1 | |
121 borderWidthBottom: 0 | |
122 # The legend | |
123 - !columns | |
124 absoluteX: 612 | |
125 absoluteY: 564 | |
126 width: 200 | |
127 items: | |
128 - !legends | |
129 maxHeight: 0 | |
130 maxWidth: 0 | |
131 maxIconHeight: 200 | |
132 inline: true | |
133 classIndentation: 10 | |
134 layerSpace: 5 | |
135 classSpace: 2 | |
136 layerFont: Helvetica | |
137 layerFontSize: 0 | |
138 classFont: Helvetica | |
139 classFontSize: 12 | |
140 fontEncoding: Cp1252 | |
141 columnMargin: 2 | |
142 defaultScale: 0.7 | |
143 config: | |
144 borderWidthLeft: 1 | |
145 borderWidthRight: 1 | |
146 borderWidthTop: 0 | |
147 borderWidthBottom: 1 |