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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Jun 25 08:38:34 EDT 2007


Author: astrid_emde
Date: 2007-06-25 08:38:34 -0400 (Mon, 25 Jun 2007)
New Revision: 1465

Modified:
   trunk/mapbender/http/print/mod_printPDF_pdf.php
Log:
temporary objects $_REQUEST changed

Modified: trunk/mapbender/http/print/mod_printPDF_pdf.php
===================================================================
--- trunk/mapbender/http/print/mod_printPDF_pdf.php	2007-06-25 12:30:16 UTC (rev 1464)
+++ trunk/mapbender/http/print/mod_printPDF_pdf.php	2007-06-25 12:38:34 UTC (rev 1465)
@@ -350,10 +350,10 @@
        )
    );
 
-//if ($_POST['measured_x_values']!=''){
-//	addMeasuredItem(&$pdf, $_POST['measured_x_values'], $_POST['measured_y_values'], $theMeasureConfigArray);
-//	hideElementsOutsideMapframe(&$pdf);
-//}
+if ($_REQUEST["measured_x_values"]!=''){
+	addMeasuredItem(&$pdf, $_REQUEST["measured_x_values"], $_REQUEST["measured_y_values"], $theMeasureConfigArray);
+	hideElementsOutsideMapframe(&$pdf);
+}
 
 # dashed line
 $pdf->setLineStyle($linewidth_dashed, '','', array(2,2));
@@ -813,8 +813,8 @@
 	/****
     * USER POLYGON:
     */
-   if($_POST['measured_x_values'] != ""
-      && $_POST['measured_y_values'] != ""
+   if($_REQUEST["measured_x_values"] != ""
+      && $_REQUEST["measured_y_values"] != ""
         && is_file($legendFilenameUserPolygon)) {
      // load image
        $myY = $pdf->ezText("<b>temporary Object</b>", 11);



More information about the Mapbender_commits mailing list