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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Sep 25 09:43:15 EDT 2008


Author: verenadiewald
Date: 2008-09-25 09:43:15 -0400 (Thu, 25 Sep 2008)
New Revision: 3003

Modified:
   trunk/mapbender/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: trunk/mapbender/http/print/mod_printPDF_pdf.php
===================================================================
--- trunk/mapbender/http/print/mod_printPDF_pdf.php	2008-09-25 13:33:09 UTC (rev 3002)
+++ trunk/mapbender/http/print/mod_printPDF_pdf.php	2008-09-25 13:43:15 UTC (rev 3003)
@@ -57,6 +57,9 @@
 $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