[OpenLayers-Users] mapExtents for Layer vs mapExtents for Map

Eric Lemoine eric.lemoine at camptocamp.com
Sat Nov 28 17:23:07 EST 2009


On Mon, Nov 23, 2009 at 9:27 AM, srweal <srweal at gmail.com> wrote:
>
> I am seeing behavior different to what you describe.  I have a WMS layer
> providing data over Australia (using tilecache.py) and if I set it up to
> have no BBOX restriction set on the TileCache, then transparent tiles are
> requested and provided when my map viewport is showing other parts of the
> world (e.g. zoomed in on Africa).
>
> However, if I set a BBOX restriction on my TileCache and also set the same
> as a maxExtent on the WMS layer, then I get pink tiles displayed over Africa
> when I zoom in there, while my actual data tiles display over Australia when
> it is in the viewport.  I was expecting to have no tiles requested when
> zoomed on Africa with the maxExtent of my WMS set to Australia.  Something
> must be wrong.
>
> I've checked my settings a few times now, but being fairly new to OpenLayers
> I wonder what I might be missing.  Can anyone else test this and confirm
> that this does/doesn't work?

This is hard to tell (at least for me). It'd be great if you could
come up with a simple example showing the problem. Thanks,

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com



More information about the Users mailing list