[OpenLayers-Users] Lots of spurious tiles get loaded when changing base layer

Eric Lemoine eric.c2c at gmail.com
Thu May 29 00:53:32 EDT 2008


On Wed, May 28, 2008 at 10:54 PM, Jon Blower <jdb at mail.nerc-essc.ac.uk> wrote:
>> Those extents are in degrees, not projected units.
> That's right.  The extent of -180,60,180,90 is just an approximation
> (and not a very good one) in lat-lon. The extent in the units of the
> projection (metres, notionally) is -10700000, -10700000, 14700000,
> 14700000.  So I think I'm doing the right thing.
>
> Regarding the spurious tiles it seems to be that a load of new tiles
> get loaded before the maximum extent of the layer can be changed.
> Presumably the bounding boxes of the tiles need to be recalculated as
> soon as the projection changes and before any new tiles are loaded.

I think this is an OL bug and therefore deserves a ticket. Jon, would
you mind filing one out? Thanks,

--
Eric



More information about the Users mailing list