[OpenLayers-Users] Pink backgrounds?
Christopher Schmidt
crschmidt at crschmidt.net
Thu Aug 17 16:57:12 CDT 2006
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.
--
Christopher Schmidt
Web Developer
More information about the Users
mailing list