[Mapbender-commits] r6028 - trunk/mapbender/lib

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Apr 26 11:01:10 EDT 2010


Author: kmq
Date: 2010-04-26 11:01:09 -0400 (Mon, 26 Apr 2010)
New Revision: 6028

Modified:
   trunk/mapbender/lib/marker.js
Log:
move Marker to the front

Modified: trunk/mapbender/lib/marker.js
===================================================================
--- trunk/mapbender/lib/marker.js	2010-04-26 12:33:38 UTC (rev 6027)
+++ trunk/mapbender/lib/marker.js	2010-04-26 15:01:09 UTC (rev 6028)
@@ -52,6 +52,7 @@
 			offset: new Point(-10, -34)
 		};
 	}
+
 	
 	var id = map.elementName + "_" + parseInt(Math.random()*100000,10);
 	var h = new Highlight(
@@ -61,6 +62,7 @@
 			position:"absolute",
 			top:"0px",
 			left:"0px"
+ 			zIndex:100
 		},
 		1
 	);
@@ -71,6 +73,7 @@
 	g.e.setElement("Mapbender:icon", options.img.url);
 	g.e.setElement("Mapbender:iconOffsetX", options.img.offset.x);
 	g.e.setElement("Mapbender:iconOffsetY", options.img.offset.y);
+	g.e.setElement("Mapbender:iconZIndex", options.img.offset.y);
 
 	if (options.img.width !== undefined && options.img.height !== undefined) {
 		g.e.setElement("Mapbender:iconWidth", options.img.width);



More information about the Mapbender_commits mailing list