[OpenLayers-Dev] wrapDateLine overwriting DisplayOutsideMaxExtent

Phil Scadden p.scadden at gns.cri.nz
Mon Feb 6 18:50:53 EST 2012


Further to that. displayOutsideMaxExtent is only used in tile.js.

A patch would be in tile.js, replace
         return withinMaxExtent || this.layer.displayOutsideMaxExtent;
with
         return withinMaxExtent || this.layer.displayOutsideMaxExtent || 
this.layer.wrapDateLine;

and remove these lines in Layer.js
         if (this.wrapDateLine) {
             this.displayOutsideMaxExtent = true;
         }


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