svn commit: r396 - trunk/mapbender/http/print/mod_printPDF_pdf.php

astrid_emde at osgeo.org astrid_emde at osgeo.org
Thu Jun 8 07:54:41 EDT 2006


Author: astrid_emde
Date: 2006-06-08 11:54:41+0000
New Revision: 396

Modified:
   trunk/mapbender/http/print/mod_printPDF_pdf.php

Log:
matching and logging of the overview request was missing
 

Modified: trunk/mapbender/http/print/mod_printPDF_pdf.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/print/mod_printPDF_pdf.php?view=diff&rev=396&p1=trunk/mapbender/http/print/mod_printPDF_pdf.php&p2=trunk/mapbender/http/print/mod_printPDF_pdf.php&r1=395&r2=396
==============================================================================
--- trunk/mapbender/http/print/mod_printPDF_pdf.php	(original)
+++ trunk/mapbender/http/print/mod_printPDF_pdf.php	2006-06-08 11:54:41+0000
@@ -163,6 +163,11 @@
 	}
 }
 
+if($matching == true){
+	$overview_url = str_replace($pattern,$replacement,$overview_url);  
+}
+
+
 if ($size == "A4" && $format == "portrait"){
 	$overview_left = $a4p_overviewOffset_left;
 	$overview_bottom =$a4p_overviewOffset_bottom;
@@ -179,6 +184,11 @@
 
 $o_extent = $o_url->get("BBOX");
 
+$array_overview_url[0] = $overview_url;
+if($log == true){
+	$l = new log("printPDF_overview",$array_overview_url);
+}
+
 /*
 $o_new = new stripRequest($overview_url);
 $o_new->set('width',50);




More information about the Mapbender_commits mailing list