diff 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
line wrap: on
line diff
--- a/flys-client/src/main/webapp/WEB-INF/config.yaml	Wed Feb 06 09:57:27 2013 +0100
+++ b/flys-client/src/main/webapp/WEB-INF/config.yaml	Thu Feb 07 22:43:30 2013 +0100
@@ -1,7 +1,7 @@
 #===========================================================================
 # allowed DPIs
 #===========================================================================
-dpis: [254, 190, 127, 56]
+dpis: [254, 190, 127, 72, 56]
 
 #===========================================================================
 # allowed Formats
@@ -42,6 +42,9 @@
   - !dnsMatch
     host: www.pegelonline.wsv.de
     port: 80
+  - !dnsMatch
+    host: geo4.service24.rlp.de
+    port: 80
   # Catch all
   #- !dnsMatch
   #  host: #regex that catches host plus path
@@ -64,7 +67,7 @@
     #-------------------------------------------------------------------------
     mainPage:
       pageSize: A4
-      rotation: true
+      landscape: false
       header:
         height: 50
         items:
@@ -118,7 +121,7 @@
     #-------------------------------------------------------------------------
     mainPage:
       pageSize: A4
-      rotation: false
+      landscape: true
       header:
         height: 50
         items:
@@ -135,9 +138,12 @@
             text: '${mapTitle}'
             spacingAfter: 30
         - !map
-          spacingAfter: 30
-          width: 440
-          height: 483
+          absoluteX: 45
+          absoluteY: 510
+          #spacingAfter: 30
+          width: 540
+          height: 480
+          align: left
         - !scalebar
           type: bar
           maxSize: 100
@@ -153,9 +159,16 @@
           align: right
           text: '1:${scale} ${now MM.dd.yyyy}'
         - !legends
-          align: left
+          align: right
           maxIconWidth: 32
           maxIconHeight: 32
+#         - !columns
+#           widths: [500, 200]
+#           items:
+#             - !map
+#               width: 500
+#               height: 500
+#             - !legends
       footer: *commonFooter
 
 

http://dive4elements.wald.intevation.org