removing unused method. Non-functional change, see #2824
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10768 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -122,31 +122,6 @@ OpenLayers.Tile.Image.IFrame = {
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* Method: createImgDiv
|
||||
* Creates a div with iframe.and eventPane
|
||||
*
|
||||
* Returns:
|
||||
* {DOMElement}
|
||||
*/
|
||||
createImgDiv: function() {
|
||||
var eventPane = document.createElement("div");
|
||||
|
||||
if(OpenLayers.Util.getBrowserName() == "msie") {
|
||||
// IE cannot handle events on elements without backgroundcolor. So we
|
||||
// use this little hack to make elements transparent
|
||||
eventPane.style.backgroundColor = '#FFFFFF';
|
||||
eventPane.style.filter = 'chroma(color=#FFFFFF)';
|
||||
}
|
||||
|
||||
OpenLayers.Util.modifyDOMElement(eventPane, null,
|
||||
new OpenLayers.Pixel(0,0), this.layer.getImageSize(), "absolute");
|
||||
|
||||
var imgDiv = document.createElement("div");
|
||||
imgDiv.appendChild(eventPane);
|
||||
return imgDiv;
|
||||
},
|
||||
|
||||
/**
|
||||
* Method: createIFrame
|
||||
* Create the IFrame which shows the image.
|
||||
|
||||
Reference in New Issue
Block a user