[Dive4elements-commits] [PATCH] Fix MapFish print config and add FLYS logo to print output (DIN A4 only)
Wald Commits
scm-commit at wald.intevation.org
Wed Nov 14 23:48:52 CET 2012
# HG changeset patch
# User Christian Lins <christian.lins at intevation.de>
# Date 1352933329 -3600
# Node ID f8ed8114f415b0123c043931d7b1e3039530928f
# Parent be9e28cff0c4721943f6baa4070ce24952377b3f
Fix MapFish print config and add FLYS logo to print output (DIN A4 only).
diff -r be9e28cff0c4 -r f8ed8114f415 flys-client/src/main/java/de/intevation/flys/client/server/MapPrintServiceImpl.java
--- a/flys-client/src/main/java/de/intevation/flys/client/server/MapPrintServiceImpl.java Wed Nov 14 17:24:55 2012 +0100
+++ b/flys-client/src/main/java/de/intevation/flys/client/server/MapPrintServiceImpl.java Wed Nov 14 23:48:49 2012 +0100
@@ -128,6 +128,7 @@
Map<String, Object> pageSpecs
) {
Map<String, Object> spec = new LinkedHashMap<String, Object>();
+ spec.put("layout", "A4 portrait");
spec.put("pageSize", "A4");
spec.put("landscape", "false");
spec.put("title", "FLYS Druck");
diff -r be9e28cff0c4 -r f8ed8114f415 flys-client/src/main/webapp/WEB-INF/config.yaml
--- a/flys-client/src/main/webapp/WEB-INF/config.yaml Wed Nov 14 17:24:55 2012 +0100
+++ b/flys-client/src/main/webapp/WEB-INF/config.yaml Wed Nov 14 23:48:49 2012 +0100
@@ -119,14 +119,17 @@
items:
- !image
align: left
+ maxWidth: 60
+ maxHeight: 60
# Fixme: Replace with local file or self-hosted link...
url: http://ubuntuone.com/7hTz3YznHfMciAUj6FSle4
- - !text
+ items:
+ - !text
font: Helvetica
fontSize: 30
align: right
text: '${mapTitle}'
- items:
+ spacingAfter: 30
- !map
spacingAfter: 30
width: 440
More information about the Dive4elements-commits
mailing list