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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Mar 19 11:33:28 EDT 2010


Author: astrid_emde
Date: 2010-03-19 11:33:27 -0400 (Fri, 19 Mar 2010)
New Revision: 5817

Modified:
   trunk/mapbender/http/javascripts/mod_scalebar.js
Log:
set width to 400
set height to 20
set z-Index to 100

Modified: trunk/mapbender/http/javascripts/mod_scalebar.js
===================================================================
--- trunk/mapbender/http/javascripts/mod_scalebar.js	2010-03-19 15:32:22 UTC (rev 5816)
+++ trunk/mapbender/http/javascripts/mod_scalebar.js	2010-03-19 15:33:27 UTC (rev 5817)
@@ -32,7 +32,7 @@
 var mod_scalebar_target = options.target;
 
 var mod_scalebar_left = 5;
-var mod_scalebar_bottom = 17;
+var mod_scalebar_bottom = 20;
 
 var mod_scalebar_color1 = "white";
 var mod_scalebar_color2 = "black";
@@ -104,9 +104,10 @@
 		el_top.style.position = "absolute";
 		el_top.style.top = "0px";
 		el_top.style.left = "0px";
-		el_top.style.width = "200px";
+		el_top.style.width = "400px";
+		el_top.style.height = "20px";
 		el_top.style.overflow = "hidden";
-		el_top.style.zIndex = "10";
+		el_top.style.zIndex = "100";
 		el_top.id = mb_mapObj[ind].elementName+"_scalebar";
 		map_el.appendChild(el_top);
 	}



More information about the Mapbender_commits mailing list