OpenLayers OpenLayers

Changeset 1331

Show
Ignore:
Timestamp:
08/22/06 13:33:12 (2 years ago)
Author:
crschmidt
Message:

IE treats non-assigned zIndex values as 0. children of an element with a
zIndex set to 0 will always be below children of an element with a zIndex
set to 100. Because VirtualEarth sits outside the ContainerDiv, its maps were
always showing up over things contained inside the container div, such as
markers. Acceptance test for this is to visit ./examples/ve.html and see if
the marker displays (should be over barcelona). IE, Firefox and Safari now
pass this acceptance test.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/openlayers/2.0/lib/OpenLayers/Map.js

    r1304 r1331  
    135135        id = div.id + "_OpenLayers_Container"; 
    136136        this.layerContainerDiv = OpenLayers.Util.createDiv(id); 
     137        this.layerContainerDiv.style.zIndex=this.Z_INDEX_BASE['Popup']-1; 
     138         
    137139        this.viewPortDiv.appendChild(this.layerContainerDiv); 
    138140