[Mapbender-commits] r6881 - trunk/mapbender/http/print

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Sep 3 05:29:21 EDT 2010


Author: christoph
Date: 2010-09-03 09:29:21 +0000 (Fri, 03 Sep 2010)
New Revision: 6881

Modified:
   trunk/mapbender/http/print/mod_printPDF.php
Log:
http://trac.osgeo.org/mapbender/ticket/687

Modified: trunk/mapbender/http/print/mod_printPDF.php
===================================================================
--- trunk/mapbender/http/print/mod_printPDF.php	2010-09-03 09:11:02 UTC (rev 6880)
+++ trunk/mapbender/http/print/mod_printPDF.php	2010-09-03 09:29:21 UTC (rev 6881)
@@ -202,10 +202,7 @@
 				coord[3]
 			);
 
-			pt.mb_mapObj[ind].width = Math.round(map_width);
-			pt.mb_mapObj[ind].height = Math.round(map_height);
-			map_el.style.width = Math.round(map_width);
-			map_el.style.height = Math.round(map_height);
+			pt.mb_mapObj[ind].setDimensions(Math.round(map_width), Math.round(map_height));
 
 			//pt.setMapRequest(target);
 			if (pt.mb_mapObj[ind].epsg === "EPSG:4326"){



More information about the Mapbender_commits mailing list