Wrap another OpenLayers image creation routine
This commit is contained in:
parent
61e756c625
commit
5275794aec
1 changed files with 12 additions and 0 deletions
|
@ -37,3 +37,15 @@ OpenLayers.Util.createImage = function(id, px, sz, imgURL, position, border,
|
|||
return OpenLayers.Util.origCreateImage(id, px, sz, imgURL, position,
|
||||
border, opacity, delayDisplay);
|
||||
};
|
||||
|
||||
OpenLayers.Util.origModifyAlphaImageDiv = OpenLayers.Util.modifyAlphaImageDiv;
|
||||
|
||||
OpenLayers.Util.modifyAlphaImageDiv = function(div, id, px, sz, imgURL,
|
||||
position, border, sizing,
|
||||
opacity) {
|
||||
imgURL = OpenLayers.Util.imageURLs[imgURL] || imgURL;
|
||||
|
||||
return OpenLayers.Util.origModifyAlphaImageDiv(div, id, px, sz, imgURL,
|
||||
position, border, sizing,
|
||||
opacity);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue