[Mapbender-commits] r2686 - branches/2.5/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jul 22 03:31:20 EDT 2008


Author: christoph
Date: 2008-07-22 03:31:20 -0400 (Tue, 22 Jul 2008)
New Revision: 2686

Modified:
   branches/2.5/http/javascripts/wfs.js
Log:
use checkbox for highlighting = false

Modified: branches/2.5/http/javascripts/wfs.js
===================================================================
--- branches/2.5/http/javascripts/wfs.js	2008-07-22 07:27:32 UTC (rev 2685)
+++ branches/2.5/http/javascripts/wfs.js	2008-07-22 07:31:20 UTC (rev 2686)
@@ -43,7 +43,7 @@
 var usemap = "";
 var mod_usemap_radius = 10;
 var mod_usemap_line_tolerance = 5;
-var useCheckboxForHighlighting = true;
+var useCheckboxForHighlighting = false;
 
 var mb_wfs_fetch = new GeometryArray();
 
@@ -71,7 +71,9 @@
 }
 
 if (useCheckboxForHighlighting) {
-	mb_registerSubFunctions('highlight.paint()');
+	eventInit.register(function() {
+		mb_registerSubFunctions('highlight.paint()');
+	});
 }
 
 /*



More information about the Mapbender_commits mailing list