[OpenLayers-Dev] Suggested patch to LayerLoader.js

Phil Scadden p.scadden at gns.cri.nz
Mon Feb 28 23:03:55 EST 2011


Replace
     createNode: function(attr) {
         if (attr.layer.href)  {
            attr.href = attr.layer.href;
         }
with
     createNode: function(attr) {
         if (attr.layer.href)  {
            attr.href = attr.layer.href;
            if (attr.layer.hrefTarget) attr.hrefTarget = 
attr.layer.hrefTarget;
         }

ie support hrefTarget.




Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.



More information about the Dev mailing list