[Mapbender-commits] r8550 - trunk/mapbender/owsproxy/http

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Jan 21 09:13:47 PST 2013


Author: armin11
Date: 2013-01-21 09:13:47 -0800 (Mon, 21 Jan 2013)
New Revision: 8550

Modified:
   trunk/mapbender/owsproxy/http/index.php
Log:
Inserted patch from obgr for ticket https://trac.osgeo.org/mapbender/ticket/887.

Modified: trunk/mapbender/owsproxy/http/index.php
===================================================================
--- trunk/mapbender/owsproxy/http/index.php	2013-01-20 19:49:28 UTC (rev 8549)
+++ trunk/mapbender/owsproxy/http/index.php	2013-01-21 17:13:47 UTC (rev 8550)
@@ -209,6 +209,9 @@
 		break;	
 	case 'getlegendgraphic':
 		$url = getLegendUrl($query->getOwsproxyServiceId());
+		if (isset ($reqParams['sld']) && $reqParams['sld'] != "") { 
+			$url = $url . getConjunctionCharacter($url) . "SLD=".$reqParams['sld']; 
+		} 
 		if(isset($auth)){
 			getImage($url,$auth);
 		}



More information about the Mapbender_commits mailing list