Made the Feature handler more robust to things that are related to changing layer order on the map, by registering an event handler that will bring the handler's layer back to the top of the layer stack in the DOM. Contains a manual test. r=elemoine (closes #1628)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@7879 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -1098,6 +1098,16 @@ OpenLayers.Layer = OpenLayers.Class({
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* Method: getZIndex
|
||||
*
|
||||
* Returns:
|
||||
* {Integer} the z-index of this layer
|
||||
*/
|
||||
getZIndex: function () {
|
||||
return this.div.style.zIndex;
|
||||
},
|
||||
|
||||
/**
|
||||
* Method: setZIndex
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user