[OpenLayers-Users] Red 'X' tiles

Vincent Picavet vpi at makina-corpus.com
Fri Jan 26 11:37:50 EST 2007


Hello,

Le Vendredi 26 Janvier 2007 17:22, Jeff Dege a écrit :
> A couple of months ago, I thought I'd read an email on this list
> regarding a proposed solution to the missing tiles problem.  Or if not
> exactly a solution, at least a work-around.
>
> The idea, IIRC, was to walk the tile list loading each tile, and then
> when done, walking it again, to retry each that hadn't loaded the first
> time.
>
> Did this turn out to work?
As for my case, it solved almost every "pink tile" I could see before.

> Was it included in the code?

It's included in 2.3-rc2.
You'll have to add the following line to your code :
OpenLayers.IMAGE_RELOAD_ATTEMPTS = 3;

Hope it helps,
Vincent



More information about the Users mailing list