[OpenLayers-Users] Pink Tile Killing Me

Lee Keel lee_keel at trimble.com
Mon Jan 14 10:46:42 EST 2008


________________________________

From: Lee Keel
Sent: Sun 1/13/2008 9:27 PM
To: Lee Keel; Lee Keel; Andrea Aime
Cc: users at openlayers.org
Subject: RE: [OpenLayers-Users] Pink Tile Killing Me



From: Andrea Aime [mailto:aaime at openplans.org]
> Lee Keel ha scritto:
> > Hello list.  I am having a problem with pink tiles.
> >
> > Configuration: I am using OL 2.5, that I download from the link at
> > http://www.openlayers.org/api/OpenLayers.js, with ms4w beta from Sept
> > 10.  Running against Postgres.
> > ...
> >
> > I am open to any and all recommendations.  I was suppose to have this
> > completed yesterday, but this is my last hurdle.  Granted it is one
> > big hurdle.
>
> There's a secret setting to solve this issue. Add the following to
> your openlayers code:
> OpenLayers.IMAGE_RELOAD_ATTEMPTS = 5;
>
> This will make OL try to download each tile 5 times before giving
> up. Should help.
>
> Cheers
> Andrea


I got things working in firefox.  The problem with firefox seemed to be that the request was being made for a png and it did not like that.  I changed it to request a gif and things started working.  I have changed the format for ie6 to request jpeg and gif, but neither one seems to work.
 
-LK



More information about the Users mailing list