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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jan 19 07:15:51 EST 2010


Author: christoph
Date: 2010-01-19 07:15:51 -0500 (Tue, 19 Jan 2010)
New Revision: 5342

Modified:
   trunk/mapbender/http/javascripts/wfs.php
Log:
refactoring

Modified: trunk/mapbender/http/javascripts/wfs.php
===================================================================
--- trunk/mapbender/http/javascripts/wfs.php	2010-01-19 12:13:55 UTC (rev 5341)
+++ trunk/mapbender/http/javascripts/wfs.php	2010-01-19 12:15:51 UTC (rev 5342)
@@ -330,7 +330,6 @@
 		colour = "#ff0000";
 	}
 
-	var wfs_conf = window.frames["wfs_conf"].get_wfs_conf();
 	if(type=='over') {
 		highlight.add(m, colour);
 		highlight.paint();
@@ -339,8 +338,13 @@
 		highlight.del(m, colour);
 		highlight.paint();
 	}
+	else if (type == 'clean') {
+		highlight.clean();
+		highlight.paint();
+	}
 	else
 		if (type == 'click') {
+			var wfs_conf = window.frames["wfs_conf"].get_wfs_conf();
 			var tmp = m.getBBox();
 			if (m.geomType == geomType.point) {
 				var b = 1;



More information about the Mapbender_commits mailing list