[Mapbender-commits] r9583 - trunk/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Sep 7 07:39:41 PDT 2016


Author: armin11
Date: 2016-09-07 07:39:41 -0700 (Wed, 07 Sep 2016)
New Revision: 9583

Modified:
   trunk/mapbender/http/javascripts/wms.js
Log:
Bugfix for featureinfo with wms time parameter

Modified: trunk/mapbender/http/javascripts/wms.js
===================================================================
--- trunk/mapbender/http/javascripts/wms.js	2016-09-07 13:12:54 UTC (rev 9582)
+++ trunk/mapbender/http/javascripts/wms.js	2016-09-07 14:39:41 UTC (rev 9583)
@@ -282,10 +282,10 @@
 	var currentWms = this;
 	//TODO 2016 arminadd optional dimension parameters
 	if (this.gui_wms_dimension_time !== false && this.gui_wms_dimension_time !== "") {
-		rq += "TIME="+encodeURIComponent(gui_wms_dimension_time)+"&";
+		rq += "TIME="+encodeURIComponent(this.gui_wms_dimension_time)+"&";
 	}
 	if (this.gui_wms_dimension_elevation !== false && this.gui_wms_dimension_elevation !== "") {
-		rq += "ELEVATION="+encodeURIComponent(gui_wms_dimension_elevation)+"&";
+		rq += "ELEVATION="+encodeURIComponent(this.gui_wms_dimension_elevation)+"&";
 	}
 	// add vendor-specific
 	for (var v = 0; v < mb_vendorSpecific.length; v++) {



More information about the Mapbender_commits mailing list