IFrame.js | |
Constants | |
ALKMaps. | Mixin for tiles that use form-encoded POST requests to get images from remote services. |
Properties | |
useIFrame | {Boolean} true if we are currently using an IFrame to render POST responses, false if we are using an img element to render GET responses. |
Functions | |
clear | Removes the iframe from DOM (avoids back-button problems). |
renderTile | |
initImgDiv | Creates the imgDiv property on the tile. |
createIFrame | Create the IFrame which shows the image. |
createRequestForm | Create the html <form> element with width, height, bbox and all parameters specified in the layer params. |
Mixin for tiles that use form-encoded POST requests to get images from remote services. Images will be loaded using HTTP-POST into an IFrame.
This mixin will be applied to ALKMaps.Tile.Image instances configured with <ALKMaps.Tile.Image.allowPost> or <ALKMaps.Tile.Image.enforcePost> set to true.
Removes the iframe from DOM (avoids back-button problems).
clear: function()
renderTile: function()
Creates the imgDiv property on the tile.
initImgDiv: function()
Create the IFrame which shows the image.
createIFrame: function()
Create the html form element with width, height, bbox and all parameters specified in the layer params.
createRequestForm: function()