[Mapbender-commits] r8551 - branches/2.7/owsproxy/http

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jan 22 01:19:30 PST 2013


Author: verenadiewald
Date: 2013-01-22 01:19:29 -0800 (Tue, 22 Jan 2013)
New Revision: 8551

Modified:
   branches/2.7/owsproxy/http/index.php
Log:
https://trac.osgeo.org/mapbender/ticket/887

Modified: branches/2.7/owsproxy/http/index.php
===================================================================
--- branches/2.7/owsproxy/http/index.php	2013-01-21 17:13:47 UTC (rev 8550)
+++ branches/2.7/owsproxy/http/index.php	2013-01-22 09:19:29 UTC (rev 8551)
@@ -139,6 +139,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