[Mapbender-commits] r1282 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Apr 27 11:13:02 EDT 2007
Author: christoph
Date: 2007-04-27 11:13:02 -0400 (Fri, 27 Apr 2007)
New Revision: 1282
Modified:
trunk/mapbender/http/javascripts/map.php
Log:
changed addVendorSpecific: now allows url manipulation
Modified: trunk/mapbender/http/javascripts/map.php
===================================================================
--- trunk/mapbender/http/javascripts/map.php 2007-04-27 07:56:10 UTC (rev 1281)
+++ trunk/mapbender/http/javascripts/map.php 2007-04-27 15:13:02 UTC (rev 1282)
@@ -520,7 +520,8 @@
newMapURL += "EXCEPTIONS="+mb_mapObj[i].wms[ii].gui_wms_exceptionformat;
// add vendor-specifics
for(var v=0; v < mb_vendorSpecific.length; v++){
- newMapURL += "&" + eval(mb_vendorSpecific[v]);
+ var vendorSpecificString = eval(mb_vendorSpecific[v]);
+ newMapURL += "&" + vendorSpecificString;
}
// add Filter
if(mb_mapObj[i].wms[ii].wms_filter != ""){
@@ -598,7 +599,8 @@
newMapURL += "EXCEPTIONS="+mb_mapObj[i].wms[ii].gui_wms_exceptionformat;
// add vendor-specific
for(var v=0; v<mb_vendorSpecific.length; v++){
- newMapURL += "&" + eval(mb_vendorSpecific[v]);
+ var vendorSpecificString = eval(mb_vendorSpecific[v]);
+ newMapURL += "&" + vendorSpecificString;
}
// add Filter
if(mb_mapObj[i].wms[ii].wms_filter != ""){
@@ -743,7 +745,8 @@
}
//add vendor-specific
for(var v=0; v < mb_vendorSpecific.length; v++){
- requestParams += "&" + eval(mb_vendorSpecific[v]);
+ var vendorSpecificString = eval(mb_vendorSpecific[v]);
+ requestParams += "&" + vendorSpecificString;
}
if(mb_log && validation){
var tmp = eval(mb_log + "('" + newfeatureInfoRequest + requestParams + "','" + ts + "')");
More information about the Mapbender_commits
mailing list