[OpenLayers-Dev] "Broken" images on 404 in IE w/ TileCache Layer

Roald de Wit roald.dewit at lisasoft.com
Sat Nov 14 00:51:00 EST 2009


Hi Matt,

Matt Underwood wrote:
> That doesn't seem to fix the issue.  It changes the color on the
> error'd images but doesn't solve the border and icon IE throws in.  I
> will try messing around with OpenLayers.Util.onImageLoadError and try
> setting them to display: none or something.
>
> If anyone wants a demo of what the issue is:   http://leetpi.com/map/
> Project/Code is @: http://github.com/sakkaku/OpenLayers.SecondLife
>
> If you pan down and to the left you can get some pretty early on or
> paste map.zoomToRegion("Sandbox Island Extension"); Into firebug/dev
> toolbar console.
>   


Can you try to use the trunk version of OL [1]  and apply the following 
style?

    <style type="text/css">
        .olImageLoadError {
            opacity: 0 !important;
            filter: alpha(opacity=0) !important;
        }
    </style>


This should do the trick.

[1] http://openlayers.org/dev/OpenLayers.js

Regards, Roald




More information about the Dev mailing list