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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Dec 4 06:06:48 EST 2007


Author: verenadiewald
Date: 2007-12-04 06:06:48 -0500 (Tue, 04 Dec 2007)
New Revision: 1886

Modified:
   trunk/mapbender/http/javascripts/mod_wfs_SpatialRequest.php
Log:
removed round from creation of new point 

Modified: trunk/mapbender/http/javascripts/mod_wfs_SpatialRequest.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_wfs_SpatialRequest.php	2007-12-04 10:57:47 UTC (rev 1885)
+++ trunk/mapbender/http/javascripts/mod_wfs_SpatialRequest.php	2007-12-04 11:06:48 UTC (rev 1886)
@@ -289,7 +289,7 @@
 function mod_wfs_spatialRequest_run(e) {
 	if (mod_wfs_spatialRequest_geometry.count() >= 3) {
 		mb_getMousePos(e,mod_wfs_spatialRequest_target);
-		var pos = new Point(clickX,clickY).round(2);
+		var pos = new Point(clickX,clickY);
 		s.check(pos);
 	}
 }
@@ -302,7 +302,7 @@
 	}
 	else {
 		mb_getMousePos(e,mod_wfs_spatialRequest_target);
-		realWorldPos = mapToReal(mod_wfs_spatialRequest_target,new Point(clickX,clickY)).round(2);
+		realWorldPos = mapToReal(mod_wfs_spatialRequest_target,new Point(clickX,clickY));
 	}
 
 	mod_wfs_spatialRequest_geometry.addPoint(realWorldPos);



More information about the Mapbender_commits mailing list