Mercurial > dive4elements > river
comparison flys-client/src/main/webapp/WEB-INF/config.yaml @ 2511:1aa6aec70b97
map print: Simplified config.
flys-client/trunk@4366 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 09 May 2012 16:32:49 +0000 |
parents | 4861ab2c28d2 |
children | 532c590beb3e |
comparison
equal
deleted
inserted
replaced
2510:4861ab2c28d2 | 2511:1aa6aec70b97 |
---|---|
118 items: | 118 items: |
119 - !map | 119 - !map |
120 spacingAfter: 30 | 120 spacingAfter: 30 |
121 width: 440 | 121 width: 440 |
122 height: 483 | 122 height: 483 |
123 - !columns | 123 - !scalebar |
124 # columns can have an absolute position. In that case, they need the 3 following fields: | 124 type: bar |
125 absoluteX: 410 | 125 maxSize: 100 |
126 absoluteY: 310 | 126 barBgColor: white |
127 width: 100 | 127 fontSize: 8 |
128 items: | 128 align: right |
129 - !scalebar | |
130 type: bar | |
131 maxSize: 100 | |
132 barBgColor: white | |
133 fontSize: 8 | |
134 align: right | |
135 - !text | 129 - !text |
136 text: '${comment}' | 130 text: '${comment}' |
137 spacingAfter: 30 | 131 spacingAfter: 30 |
138 - !attributes | |
139 source: data | |
140 spacingAfter: 30 | |
141 columnDefs: | |
142 id: | |
143 columnWeight: 2 | |
144 header: !text | |
145 text: ID | |
146 backgroundColor: #A0A0A0 | |
147 cell: !text | |
148 text: '${id}' | |
149 name: | |
150 columnWeight: 5 | |
151 header: !text | |
152 text: Name | |
153 backgroundColor: #A0A0A0 | |
154 cell: !columns | |
155 config: | |
156 cells: | |
157 - backgroundColor: '${nameBackgroundColor}' | |
158 borderWidth: 1 | |
159 borderColor: '${nameBorderColor}' | |
160 items: | |
161 - !text | |
162 text: '${name}' | |
163 icon: | |
164 columnWeight: 2 | |
165 header: !text | |
166 text: Symbol | |
167 backgroundColor: #A0A0A0 | |
168 cell: !image | |
169 align: center | |
170 maxWidth: 15 | |
171 maxHeight: 15 | |
172 url: 'http://www.mapfish.org/svn/mapfish/framework/client/trunk/mfbase/mapfish/img/${icon}.png' | |
173 - !text | 132 - !text |
174 font: Helvetica | 133 font: Helvetica |
175 fontSize: 9 | 134 fontSize: 9 |
176 align: right | 135 align: right |
177 text: '1:${scale} ${now MM.dd.yyyy}' | 136 text: '1:${scale} ${now MM.dd.yyyy}' |