[Mapbender-commits] r5752 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Mar 11 10:36:38 EST 2010
Author: christoph
Date: 2010-03-11 10:36:37 -0500 (Thu, 11 Mar 2010)
New Revision: 5752
Modified:
trunk/mapbender/http/javascripts/requestGeometryConstructor.js
Log:
renamed tag name of request polygon highlight, changed z-Index
Modified: trunk/mapbender/http/javascripts/requestGeometryConstructor.js
===================================================================
--- trunk/mapbender/http/javascripts/requestGeometryConstructor.js 2010-03-11 15:25:31 UTC (rev 5751)
+++ trunk/mapbender/http/javascripts/requestGeometryConstructor.js 2010-03-11 15:36:37 UTC (rev 5752)
@@ -30,15 +30,15 @@
var ind = getMapObjIndexByName(this.geomTarget);
var myMapObj = mb_mapObj[ind];
var map_el = myMapObj.getDomElement();
- if(!map_el.ownerDocument.getElementById(myMapObj.elementName+"_measuring")){
+ if(!map_el.ownerDocument.getElementById(myMapObj.elementName+"_request_geometry_polygon")){
//create Box Elements
var el_top = map_el.ownerDocument.createElement("div");
el_top.style.position = "absolute";
el_top.style.top = "0px";
el_top.style.left = "0px";
- el_top.style.zIndex = "50";
+ el_top.style.zIndex = "500";
el_top.style.fontSize = "10px";
- el_top.id = myMapObj.elementName+"_measuring";
+ el_top.id = myMapObj.elementName+"_request_geometry_polygon";
map_el.appendChild(el_top);
}
@@ -48,7 +48,7 @@
el_top.style.position = "absolute";
el_top.style.top = "0px";
el_top.style.left = "0px";
- el_top.style.zIndex = "51";
+ el_top.style.zIndex = "510";
el_top.id = myMapObj.elementName+"_measure_display";
map_el.appendChild(el_top);
}
@@ -161,7 +161,7 @@
if (s.isSnapped() && queryGeom.count() >= 3 && queryGeom.get(-1).equals(queryGeom.get(0))) {
queryGeom.close();
callback(that.geomTarget,queryGeom);
- writeTag(myMapObj.frameName, myMapObj.elementName+"_measuring", "");
+ writeTag(myMapObj.frameName, myMapObj.elementName+"_request_geometry_polygon", "");
writeTag(myMapObj.frameName, myMapObj.elementName+"_measure_display", "");
var ind = getMapObjIndexByName("mapframe1");
var el = mb_mapObj[ind].getDomElement();
@@ -203,7 +203,7 @@
}
}
}
- writeTag(myMapObj.frameName, myMapObj.elementName+"_measuring", str_mPoints);
+ writeTag(myMapObj.frameName, myMapObj.elementName+"_request_geometry_polygon", str_mPoints);
}
var evaluateDashesExt = function(p1,p0,count){
More information about the Mapbender_commits
mailing list