In layer,js, there is:
         if (this.wrapDateLine) {
             this.displayOutsideMaxExtent = true;
         }

I am not happy with construction - one external property is changing 
another rather than the logic used for displayOutsideMaxExtent taking 
into account the wrapDateLine property as well.

This is not just programming aethetics - I am looking at way where I can 
use maxExtent for layer to restrict which tiles are request, 
(displayOutsideMaxExtent = false) even when maxExtent does cross 
dateline (or my case at where I want to restrict N/S limits).


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.

_______________________________________________
Dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-dev

Reply via email to