[OpenLayers-Trac] [OpenLayers] #3616: setting wrapDateLine changes DisplayOutsideMaxExtent unnecessarily.

OpenLayers trac-20090302 at openlayers.org
Thu Feb 9 15:49:11 EST 2012


#3616: setting wrapDateLine changes DisplayOutsideMaxExtent unnecessarily.
----------------------+-----------------------------------------------------
 Reporter:  scaddenp  |       Owner:              
     Type:  bug       |      Status:  new         
 Priority:  minor     |   Milestone:  2.12 Release
Component:  general   |     Version:  2.11        
 Keywords:            |       State:              
----------------------+-----------------------------------------------------
 If a maxExtent crosses dateline, then this prevents using maxExtent to
 restrict which tiles are pulled.

 The code for
 this.bounds.intersectsBounds(maxExtent, {inclusive: false, worldBounds:
 worldBounds}))
 seems to deal with the wrapDateLine issue adequately.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3616>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list