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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Sep 28 07:03:15 PDT 2015


Author: armin11
Date: 2015-09-28 07:03:15 -0700 (Mon, 28 Sep 2015)
New Revision: 9290

Modified:
   trunk/mapbender/http/javascripts/wms.js
Log:
Solution for https://trac.osgeo.org/mapbender/ticket/916

Modified: trunk/mapbender/http/javascripts/wms.js
===================================================================
--- trunk/mapbender/http/javascripts/wms.js	2015-09-22 13:04:10 UTC (rev 9289)
+++ trunk/mapbender/http/javascripts/wms.js	2015-09-28 14:03:15 UTC (rev 9290)
@@ -261,8 +261,8 @@
 	rq += "&FORMAT=" + this.gui_wms_mapformat;
 	rq += "&INFO_FORMAT=" + this.gui_wms_featureinfoformat;
 	rq += "&EXCEPTIONS=" + this.gui_wms_exceptionformat;
-	rq += "&X=" + clickPoint.x;
-	rq += "&Y=" + clickPoint.y;
+	rq += "&X=" + Math.round(clickPoint.x);
+	rq += "&Y=" + Math.round(clickPoint.y);
 	if(mb_feature_count > 0){             
 		rq += "&FEATURE_COUNT="+mb_feature_count;
 	}



More information about the Mapbender_commits mailing list