Mercurial > dive4elements > river
comparison flys-client/src/main/webapp/WEB-INF/config.yaml @ 4965:8af500d62098
Editing Map print config.
author | Christian Lins <christian.lins@intevation.de> |
---|---|
date | Tue, 05 Feb 2013 13:57:08 +0100 |
parents | 95e23bcf6a50 |
children | 555fa2774d3c |
comparison
equal
deleted
inserted
replaced
4964:2b32ae372fc4 | 4965:8af500d62098 |
---|---|
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 | 45 # Catch all |
46 host: osm.wheregroup.com | 46 #- !dnsMatch |
47 # host: #regex that catches host plus path | |
48 # port: 80 | |
49 - !dnsMatch | |
50 host: osm.intevation.de | |
47 port: 80 | 51 port: 80 |
48 | 52 |
49 layouts: | 53 layouts: |
50 #=========================================================================== | 54 #=========================================================================== |
51 A4 portrait: | 55 A4 portrait: |
52 #=========================================================================== | 56 #=========================================================================== |
53 metaData: | 57 metaData: |
54 title: '${title}' | 58 title: '${title}' |
55 author: 'MapFish print module' | 59 author: 'Flys' |
56 subject: 'Simple layout' | 60 subject: 'Kartendruck A4 Portrait' |
57 keywords: 'map,print' | 61 keywords: 'map,print' |
58 creator: 'MapFish' | 62 creator: 'd4e-river' |
59 | |
60 # titlePage: | |
61 # pageSize: A4 | |
62 # items: | |
63 # - !text | |
64 # spacingAfter: 150 | |
65 # - !text | |
66 # font: Helvetica | |
67 # fontSize: 40 | |
68 # spacingAfter: 100 | |
69 # align: center | |
70 # text: '${title}' | |
71 # - !image | |
72 # maxWidth: 160 | |
73 # maxHeight: 160 | |
74 # spacingAfter: 100 | |
75 # align: center | |
76 # url: http://trac.mapfish.org/trac/mapfish/attachment/ticket/3/logo_v8_sphere.svg?format=raw | |
77 # - !image | |
78 # maxWidth: 160 | |
79 # maxHeight: 160 | |
80 # spacingAfter: 100 | |
81 # align: center | |
82 # url: 'file://${configDir}/../images/flys_logo.gif' | |
83 # - !text | |
84 # font: Helvetica | |
85 # fontSize: 14 | |
86 # align: left | |
87 # text: | | |
88 # Two layers are asked by the client: | |
89 # - a base layer from Metacarta | |
90 # - a transparent layer from Camptocamp.org (routes) | |
91 # . | |
92 # Some text is added over the map, just to demonstrate the absolute positionning. | |
93 # footer: &commonFooter | |
94 # height: 30 | |
95 # items: | |
96 # - !columns | |
97 # config: | |
98 # cells: | |
99 # - paddingBottom: 5 | |
100 # items: | |
101 # - !image | |
102 # maxWidth: 40 | |
103 # backgroundColor: #FF0000 | |
104 # align: left | |
105 # url: '${configDir}/../images/properties.gif' | |
106 # - !text | |
107 # backgroundColor: #FF0000 | |
108 # text: ©Camptocamp SA | |
109 # - !text | |
110 # align: right | |
111 # text: 'Page ${pageNum}' | |
112 | 63 |
113 #------------------------------------------------------------------------- | 64 #------------------------------------------------------------------------- |
114 mainPage: | 65 mainPage: |
115 pageSize: A4 | 66 pageSize: A4 |
116 rotation: true | 67 rotation: true |
119 items: | 70 items: |
120 - !image | 71 - !image |
121 align: left | 72 align: left |
122 maxWidth: 60 | 73 maxWidth: 60 |
123 maxHeight: 60 | 74 maxHeight: 60 |
124 # Fixme: Replace with local file or self-hosted link... | |
125 url: '${configDir}/../images/FLYS_Logo.png' | 75 url: '${configDir}/../images/FLYS_Logo.png' |
126 items: | 76 items: |
127 - !text | 77 - !text |
128 font: Helvetica | 78 font: Helvetica |
129 fontSize: 30 | 79 fontSize: 30 |
151 - !legends | 101 - !legends |
152 align: left | 102 align: left |
153 maxIconWidth: 32 | 103 maxIconWidth: 32 |
154 maxIconHeight: 32 | 104 maxIconHeight: 32 |
155 footer: *commonFooter | 105 footer: *commonFooter |
106 | |
107 | |
108 #=========================================================================== | |
109 A4 landscape: | |
110 #=========================================================================== | |
111 metaData: | |
112 title: '${title}' | |
113 author: 'Flys' | |
114 subject: 'Kartendruck A4 Quer' | |
115 keywords: 'map,print' | |
116 creator: 'd4e-river' | |
117 | |
118 #------------------------------------------------------------------------- | |
119 mainPage: | |
120 pageSize: A4 | |
121 rotation: false | |
122 header: | |
123 height: 50 | |
124 items: | |
125 - !image | |
126 align: left | |
127 maxWidth: 60 | |
128 maxHeight: 60 | |
129 url: '${configDir}/../images/FLYS_Logo.png' | |
130 items: | |
131 - !text | |
132 font: Helvetica | |
133 fontSize: 30 | |
134 align: right | |
135 text: '${mapTitle}' | |
136 spacingAfter: 30 | |
137 - !map | |
138 spacingAfter: 30 | |
139 width: 440 | |
140 height: 483 | |
141 - !scalebar | |
142 type: bar | |
143 maxSize: 100 | |
144 barBgColor: white | |
145 fontSize: 8 | |
146 align: right | |
147 - !text | |
148 text: '${comment}' | |
149 spacingAfter: 30 | |
150 - !text | |
151 font: Helvetica | |
152 fontSize: 9 | |
153 align: right | |
154 text: '1:${scale} ${now MM.dd.yyyy}' | |
155 - !legends | |
156 align: left | |
157 maxIconWidth: 32 | |
158 maxIconHeight: 32 | |
159 footer: *commonFooter | |
160 | |
156 | 161 |
157 #=========================================================================== | 162 #=========================================================================== |
158 A0 portrait: | 163 A0 portrait: |
159 #=========================================================================== | 164 #=========================================================================== |
160 metaData: | 165 metaData: |