[Mapbender-commits] r3002 - branches/2.5/http/print

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Sep 25 09:33:10 EDT 2008


Author: verenadiewald
Date: 2008-09-25 09:33:09 -0400 (Thu, 25 Sep 2008)
New Revision: 3002

Modified:
   branches/2.5/http/print/mod_printPDF_pdf.php
Log:
http://trac.osgeo.org/mapbender/ticket/300 -> set $overview to false if no overview image url is given

Modified: branches/2.5/http/print/mod_printPDF_pdf.php
===================================================================
--- branches/2.5/http/print/mod_printPDF_pdf.php	2008-09-25 12:40:31 UTC (rev 3001)
+++ branches/2.5/http/print/mod_printPDF_pdf.php	2008-09-25 13:33:09 UTC (rev 3002)
@@ -57,7 +57,11 @@
 $map_scale = $_REQUEST["map_scale"];
 $overview_url = $_REQUEST["overview_url"];
 $epsg = $_REQUEST["epsg"];
+if($overview_url=='false'){
+	$overview = false;	
+}
 
+
 function setscalebar($scale){
     	$mb_resolution = 28.35;
         



More information about the Mapbender_commits mailing list