[Mapbender-commits] r8593 - branches/2.7/http/print/classes trunk/mapbender/http/print/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Apr 8 05:00:05 PDT 2013


Author: verenadiewald
Date: 2013-04-08 05:00:05 -0700 (Mon, 08 Apr 2013)
New Revision: 8593

Modified:
   branches/2.7/http/print/classes/mbMapDecorator.php
   trunk/mapbender/http/print/classes/mbMapDecorator.php
Log:
exchange position of easting and northing in lower left corner of print pdf for correct display

Modified: branches/2.7/http/print/classes/mbMapDecorator.php
===================================================================
--- branches/2.7/http/print/classes/mbMapDecorator.php	2013-04-04 08:39:58 UTC (rev 8592)
+++ branches/2.7/http/print/classes/mbMapDecorator.php	2013-04-08 12:00:05 UTC (rev 8593)
@@ -117,8 +117,8 @@
 			$this->pdf->objPdf->setTextColor(0, 0, 0);
 			$this->pdf->objPdf->setFont($this->conf->coords_font_family, "", $this->conf->coords_font_size);
 			#RotatedText($x, $y, $txt, $angle)
-			$this->pdf->objPdf->RotatedText($this->conf->x_ul - 2, $this->conf->y_ul + $height, $myMinx, 90); 
-			$this->pdf->objPdf->Text($this->conf->x_ul, $this->conf->y_ul + $height + 3.5, $myMiny);
+			$this->pdf->objPdf->RotatedText($this->conf->x_ul - 2, $this->conf->y_ul + $height, $myMiny, 90); 
+			$this->pdf->objPdf->Text($this->conf->x_ul, $this->conf->y_ul + $height + 3.5, $myMinx);
 			$this->pdf->objPdf->RotatedText($this->conf->x_ul + $width + 2, $this->conf->y_ul, $myMaxy, 270);
 			$this->pdf->objPdf->Text($this->conf->x_ul + $width - ($this->pdf->objPdf->GetStringWidth($myMaxx)), $this->conf->y_ul - 2, $myMaxx);
 

Modified: trunk/mapbender/http/print/classes/mbMapDecorator.php
===================================================================
--- trunk/mapbender/http/print/classes/mbMapDecorator.php	2013-04-04 08:39:58 UTC (rev 8592)
+++ trunk/mapbender/http/print/classes/mbMapDecorator.php	2013-04-08 12:00:05 UTC (rev 8593)
@@ -120,8 +120,8 @@
 			$this->pdf->objPdf->setTextColor(0, 0, 0);
 			$this->pdf->objPdf->setFont($this->conf->coords_font_family, "", $this->conf->coords_font_size);
 			#RotatedText($x, $y, $txt, $angle)
-			$this->pdf->objPdf->RotatedText($this->conf->x_ul - 2, $this->conf->y_ul + $height, $myMinx, 90); 
-			$this->pdf->objPdf->Text($this->conf->x_ul, $this->conf->y_ul + $height + 3.5, $myMiny);
+			$this->pdf->objPdf->RotatedText($this->conf->x_ul - 2, $this->conf->y_ul + $height, $myMiny, 90); 
+			$this->pdf->objPdf->Text($this->conf->x_ul, $this->conf->y_ul + $height + 3.5, $myMinx);
 			$this->pdf->objPdf->RotatedText($this->conf->x_ul + $width + 2, $this->conf->y_ul, $myMaxy, 270);
 			$this->pdf->objPdf->Text($this->conf->x_ul + $width - ($this->pdf->objPdf->GetStringWidth($myMaxx)), $this->conf->y_ul - 2, $myMaxx);
 



More information about the Mapbender_commits mailing list