[Mapbender-commits] r2065 - branches/2.5/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Feb 6 15:23:53 EST 2008
Author: mschulz
Date: 2008-02-06 15:23:53 -0500 (Wed, 06 Feb 2008)
New Revision: 2065
Modified:
branches/2.5/http/javascripts/map_obj.js
Log:
make legendurl sld aware
Modified: branches/2.5/http/javascripts/map_obj.js
===================================================================
--- branches/2.5/http/javascripts/map_obj.js 2008-02-06 14:57:11 UTC (rev 2064)
+++ branches/2.5/http/javascripts/map_obj.js 2008-02-06 20:23:53 UTC (rev 2065)
@@ -340,6 +340,9 @@
for(var k=0; k< this.objLayer[i].layer_style.length; k++){
if(this.objLayer[i].layer_style[k].name == guiLayerStyle){
var legendUrl = this.objLayer[i].layer_style[k].legendurl;
+ if (this.gui_wms_sldurl != "") {
+ legendUrl += "&SLD="+escape(this.gui_wms_sldurl);
+ }
if(legendUrl !=='' && legendUrl !== null && typeof(legendUrl) != 'undefined'){
return legendUrl;
}
More information about the Mapbender_commits
mailing list