Fixing IFrame tile layers.
A problem introduced with 5fda8835da can easily be solved by re-adding a check for imgDiv and a strict type check for useIFrame. Thanks @elemoine for pointing out that there could be a problem.
This commit is contained in:
@@ -204,7 +204,7 @@ OpenLayers.Tile.Image.IFrame = {
|
||||
*/
|
||||
createBackBuffer: function() {
|
||||
var backBuffer;
|
||||
if(!this.useIFrame) {
|
||||
if(this.useIFrame === false) {
|
||||
backBuffer = OpenLayers.Tile.Image.prototype.createBackBuffer.call(this);
|
||||
}
|
||||
return backBuffer;
|
||||
|
||||
Reference in New Issue
Block a user