svn commit: r592 - trunk/mapbender/http/javascripts/wfs.js

christoph at osgeo.org christoph at osgeo.org
Wed Jun 21 08:27:21 EDT 2006


Author: christoph
Date: 2006-06-21 12:27:21+0000
New Revision: 592

Modified:
   trunk/mapbender/http/javascripts/wfs.js

Log:
1 bugfix

repaired zoom to geometry

Modified: trunk/mapbender/http/javascripts/wfs.js
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/javascripts/wfs.js?view=diff&rev=592&p1=trunk/mapbender/http/javascripts/wfs.js&p2=trunk/mapbender/http/javascripts/wfs.js&r1=591&r2=592
==============================================================================
--- trunk/mapbender/http/javascripts/wfs.js	(original)
+++ trunk/mapbender/http/javascripts/wfs.js	2006-06-21 12:27:21+0000
@@ -331,8 +331,8 @@
 		mb_wfs_checkTag();
 		var tmp = m.getBBox();
 		var b = parseFloat(wfs_conf[m.wfs_conf]['g_buffer']);
-		var bbox_ll = new Point(tmp[0].x-b, tmp[0].y+b);
-		var bbox_ru = new Point(tmp[1].x+b, tmp[1].y-b);
+		var bbox_ll = new Point(tmp[0].x-b, tmp[0].y-b);
+		var bbox_ru = new Point(tmp[1].x+b, tmp[1].y+b);
 		mb_calcExtent(mb_wfs_targets[0],bbox_ll, bbox_ru);
 		zoom(mb_wfs_targets[0], 'true', 1.0);
 		if (!useCheckboxForHighlighting) {




More information about the Mapbender_commits mailing list