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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Feb 23 06:57:10 EST 2007


Author: christoph
Date: 2007-02-23 06:57:10 -0500 (Fri, 23 Feb 2007)
New Revision: 1139

Modified:
   trunk/mapbender/http/javascripts/wfs.js
Log:
highlight tag style is now an object, no longer a string

Modified: trunk/mapbender/http/javascripts/wfs.js
===================================================================
--- trunk/mapbender/http/javascripts/wfs.js	2007-02-23 11:56:03 UTC (rev 1138)
+++ trunk/mapbender/http/javascripts/wfs.js	2007-02-23 11:57:10 UTC (rev 1139)
@@ -53,7 +53,8 @@
 mb_registerInitFunctions('initHighlight()');
 
 function initHighlight() {
-	highlight = new Highlight(mb_wfs_targets, highlight_tag_id, "position:absolute; top:0px; left:0px; z-index:"+generalHighlightZIndex, generalHighlightLineWidth);
+	var styleObj = {"position":"absolute", "top":"0px", "left":"0px", "z-index":generalHighlightZIndex};
+	highlight = new Highlight(mb_wfs_targets, highlight_tag_id, styleObj, generalHighlightLineWidth);
 }
 try {if(displayWfsResultList){}}catch(e) {displayWfsResultList = 0;}
 
@@ -68,7 +69,6 @@
 
 if (useCheckboxForHighlighting) { 
 	mb_registerSubFunctions('highlight.paint()');
-	mb_registerInitFunctions('highlight.paint()');
 }
 
 /*



More information about the Mapbender_commits mailing list