[OpenLayers-Users] Tiles outside maxExtent being loaded

Christopher Schmidt crschmidt at metacarta.com
Fri May 30 10:24:12 EDT 2008


On Fri, May 30, 2008 at 01:48:36PM +0100, Jon Blower wrote:
> I've noticed that in my application OpenLayers is requesting tiles
> outside the maximum extent of my overlay layer (which is in EPSG:4326
> and hence has a maxExtent of -180,-90,180,90).  I've checked using the
> Firebug console that the maxExtent is correctly set.  wrapDateLine is
> set true.

wrapDateLine forces displayOutsideMaxExtent, which is why you are seeing
the behavior you are seeing.

> 
> Is there any way of preventing these tiles from being loaded? 

Turn off wrapDateLine.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list