[Mapbender-commits] r1272 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Apr 23 05:57:20 EDT 2007
Author: christoph
Date: 2007-04-23 05:57:20 -0400 (Mon, 23 Apr 2007)
New Revision: 1272
Modified:
trunk/mapbender/http/javascripts/geometry.js
Log:
fixed a bug (IE): zIndex was not set
Modified: trunk/mapbender/http/javascripts/geometry.js
===================================================================
--- trunk/mapbender/http/javascripts/geometry.js 2007-04-23 09:40:28 UTC (rev 1271)
+++ trunk/mapbender/http/javascripts/geometry.js 2007-04-23 09:57:20 UTC (rev 1272)
@@ -1055,11 +1055,12 @@
this.resetIndexOfNearestNeighbour = function(){min_i = -1;};
var tolerance = (typeof(aTolerance) == 'undefined') ? 10 : aTolerance;
+ var zIndex = (typeof(aZIndex) == 'undefined') ? 50 : aZIndex;
var coord = [];
var min_i = -1;
var target = aTarget;
var lineWidth = 2;
- var style = {"position":"absolute", "top":"0px", "left":"0px", "z-index":aZIndex};
+ var style = {"position":"absolute", "top":"0px", "left":"0px", "z-index":zIndex};
var highlight = new Highlight([target], "snapping"+Math.round(Math.random()*Math.pow(10,10)), style, lineWidth);
}
More information about the Mapbender_commits
mailing list