[OpenLayers-Users] Pink backgrounds?
Erik Uzureau
euzuro at gmail.com
Thu Aug 17 16:51:16 CDT 2006
Hi Jeff,
The pink comes when a tile doesnt load correctly. If you check out
lib/OpenLayers/Util.js,
you'll see that OpenLayers.Util.createImage() and
OpenLayers.Util.createAlphaImage()
both wait for either "load" or "error" to come back and either display the
image or set it
to pink (respectively).
Hope that helps!
Erik
On 8/17/06, Jeff Dege <jdege at korterra.com> 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 tiles in the cache are fine. And if I zoom out and then in again,
> it'll be a different set of tiles drawn with pink backgrounds.
>
> As I've added more layers, the pink tiles have become more common. I
> currently have four kamap layers - drawing six mapserver layers, and
> more tiles are pink than are not.
>
> Has anyone else ever seen anything like this?
>
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://mailman-viper.python-hosting.com/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman-viper.python-hosting.com/pipermail/users/attachments/20060817/ff599f66/attachment.html
More information about the Users
mailing list