OpenLayers. Tile. Image. IFrame

Instances of OpenLayers.Tile.Image.IFrame are used to manage the image tiles used by Layer.WMS.Post loaded via HTTP-POST-protocol.  Create a new image tile with the OpenLayers.Tile.Image.IFrame constructor.

Inherits from

Summary
OpenLayers. Tile. Image. IFrameInstances of OpenLayers.Tile.Image.IFrame are used to manage the image tiles used by Layer.WMS.Post loaded via HTTP-POST-protocol.
Properties
layerAlphaHack{Boolean} Always false for an instance.
Constructor
OpenLayers. Tile. Image. IFrameConstructor for a new OpenLayers.Tile.Image.IFrame instance.
Functions
destroynullify references to prevent circular references and memory leaks
clearRemoves the iframe from DOM (avoids back-button problems).
clone
renderTile
initImgDivCreates the imgDiv property on the tile.
createImgDivCreates a div with iframe.and eventPane
createIFrameCreate the IFrame which shows the image.
createRequestFormCreate the html <form> element with width, height, bbox and all parameters specified in the layer params.

Properties

layerAlphaHack

{Boolean} Always false for an instance.

Constructor

OpenLayers. Tile. Image. IFrame

Constructor for a new OpenLayers.Tile.Image.IFrame instance.

Parameters

layer{OpenLayers.Layer} layer that the tile will go in.
position{OpenLayers.Pixel}
bounds{OpenLayers.Bounds}
size{OpenLayers.Size}

Functions

destroy

destroy: function()

nullify references to prevent circular references and memory leaks

clear

clear: function()

Removes the iframe from DOM (avoids back-button problems).

clone

clone: function (obj)

Parameters

obj{OpenLayers.Tile.Image.IFrame} The tile to be cloned

Returns

{OpenLayers.Tile.Image.IFrame} An exact clone of this OpenLayers.Tile.Image.IFrame

renderTile

renderTile: function()

initImgDiv

initImgDiv: function()

Creates the imgDiv property on the tile.

createImgDiv

createImgDiv: function()

Creates a div with iframe.and eventPane

Returns

{DOMElement}

createIFrame

createIFrame: function()

Create the IFrame which shows the image.

Returns

{DOMElement} Iframe

createRequestForm

createRequestForm: function()

Create the html <form> element with width, height, bbox and all parameters specified in the layer params.

Returns

{DOMElement} The form element which sends the HTTP-POST request to the WMS.

Constructor for a new OpenLayers.Tile.Image.IFrame instance.
destroy: function()
nullify references to prevent circular references and memory leaks
clear: function()
Removes the iframe from DOM (avoids back-button problems).
clone: function (obj)
renderTile: function()
initImgDiv: function()
Creates the imgDiv property on the tile.
createImgDiv: function()
Creates a div with iframe.and eventPane
createIFrame: function()
Create the IFrame which shows the image.
createRequestForm: function()
Create the html form element with width, height, bbox and all parameters specified in the layer params.
Instances of OpenLayers.Tile.Image are used to manage the image tiles used by various layers.
This class represents a screen coordinate, in x and y coordinates
Instances of this class represent bounding boxes.
Instances of this class represent a width/height pair
Close