comparison flys-client/src/main/java/de/intevation/flys/client/server/MapPrintServiceImpl.java @ 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 f8ed8114f415
children 8128622e4b28
comparison
equal deleted inserted replaced
4968:d76705b68e73 4969:555fa2774d3c
126 Double minX, Double minY, 126 Double minX, Double minY,
127 Double maxX, Double maxY, 127 Double maxX, Double maxY,
128 Map<String, Object> pageSpecs 128 Map<String, Object> pageSpecs
129 ) { 129 ) {
130 Map<String, Object> spec = new LinkedHashMap<String, Object>(); 130 Map<String, Object> spec = new LinkedHashMap<String, Object>();
131 spec.put("layout", "A4 portrait"); 131 spec.put("layout", "A4 landscape");
132 spec.put("pageSize", "A4"); 132 spec.put("pageSize", "A4");
133 spec.put("landscape", "false"); 133 spec.put("landscape", "false");
134 spec.put("title", "FLYS Druck"); 134 spec.put("title", "FLYS Druck");
135 spec.put("srs", "EPSG:" + mapConfig.getSrid()); 135 spec.put("srs", "EPSG:" + mapConfig.getSrid());
136 spec.put("dpi", Integer.valueOf(254)); 136 spec.put("dpi", Integer.valueOf(254));

http://dive4elements.wald.intevation.org