[OpenLayers-Users] Tiles outside maxExtent being loaded

Christopher Schmidt crschmidt at metacarta.com
Fri May 30 13:36:20 EDT 2008


On Fri, May 30, 2008 at 03:37:12PM +0100, Jon Blower wrote:
> Hi Chris,
> 
> Thanks for the reply.  Is it not possible (logically at least) to have
> wrapDateLine=true and displayOutsideMaxExtent=false?  This seems to
> make a lot of sense for the very common case of EPSG:4326.

Correct. wrapDateLine true and displayOutsideMaxExtent false can not be
used in combination.

> Alternatively is there a method I can override to prevent tiles
> outside the latitude range [-90,90] being loaded (e.g. by subclassing
> Layer.WMS)?  I'm keen to do this because having 8 requests to my WMS
> server (even if 6 of them are quickly rejected) not only causes
> increased load on my server but also uses up some of the web browser's
> image loading threads, slowing up my application considerably.

Not that I'm aware of.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list