[Mapbender-commits] r5753 - branches/2.6/http/print

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Mar 12 11:51:11 EST 2010


Author: tbaschetti
Date: 2010-03-12 11:51:11 -0500 (Fri, 12 Mar 2010)
New Revision: 5753

Modified:
   branches/2.6/http/print/mod_printPDF.php
Log:

preserve scale for print
http://trac.osgeo.org/mapbender/ticket/205



Modified: branches/2.6/http/print/mod_printPDF.php
===================================================================
--- branches/2.6/http/print/mod_printPDF.php	2010-03-11 15:36:37 UTC (rev 5752)
+++ branches/2.6/http/print/mod_printPDF.php	2010-03-12 16:51:11 UTC (rev 5753)
@@ -203,8 +203,8 @@
 			map_el.style.height = Math.round(map_height);
 
 			//pt.setMapRequest(target);
-//			pt.mb_repaintScale(target, null, null, prevscale);
-			pt.mb_repaint(target, parseFloat(coord[0]), pos[1], pos[0], parseFloat(coord[3]));
+			pt.mb_repaintScale(target, null, null, prevscale);
+//			pt.mb_repaint(target, parseFloat(coord[0]), pos[1], pos[0], parseFloat(coord[3]));
 		document.form1.map_url.value = '';
 			for(var i=0; i<pt.mb_mapObj[ind].wms.length; i++){
 				if(pt.mb_mapObj[ind].wms[i].gui_wms_visible > 0){



More information about the Mapbender_commits mailing list