[OpenLayers-Users] Pink backgrounds?
Jeff Dege
jdege at korterra.com
Thu Aug 17 17:04:53 CDT 2006
> -----Original Message-----
> From: Christopher Schmidt [mailto:crschmidt at crschmidt.net]
> Sent: Thursday, August 17, 2006 4:57 PM
> To: Jeff Dege
> Cc: users at openlayers.org
> Subject: Re: [OpenLayers-Users] Pink backgrounds?
>
> On Thu, Aug 17, 2006 at 04:41:12PM -0500, Jeff Dege wrote:
> > Using kamap layers with release-2.0-rc1, I've been seeing
occassional
> > tiles not draw - they're in the cache, but they're not displayed in
the
> > browser, and something more frequently, I've been seeing tiles drawn
in
> > the browser with a pink background.
>
> The pink background is indicitive of a failed image load. I have not
yet
> seen a case where the image loading has failed in my personal
examples.
> The pink background happens via the image's 'onerror' handler.
>
> Are you using antialiasing in your layers? It's possible that the
> problems you're seeing are actually related to Mapserver crashing out
> when trying to render the tiles in question, but I can't really tell
you
> why that might be. However, for whatever reason it is, the onerror
> handler is firing for the images you're seeing as pink.
>
> Unfortunately, I don't really have any suggestions how to debug this,
> but I have a feeling it's not specifically an OpenLayers issue -- your
> browser is convined those images aren't loading. Why that is is beyond
> me.
OK - that gives me something to look at.
I've checked on some of the tiles in ka_kache, and every one I've
checked seems to have been generated correctly. It looks like a problem
in the download.
More information about the Users
mailing list