Move setting of the zIndex of the control div back to map where it belongs.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@211 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -139,6 +139,8 @@ OpenLayers.Map.prototype = {
|
||||
this.controls.push(control);
|
||||
var div = control.draw();
|
||||
if (div) {
|
||||
div.style.zIndex = this.Z_INDEX_BASE['Control'] +
|
||||
this.controls.length;
|
||||
this.viewPortDiv.appendChild( div );
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user