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

Roald de Wit roald.dewit at lisasoft.com
Sun Nov 15 01:31:44 EST 2009


Hi Matt,

Matt Underwood wrote:
> On Sat, Nov 14, 2009 at 12:51 AM, Roald de Wit <roald.dewit at lisasoft.com> wrote:
>   
>> 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
>>
>>
>>     
>
> I would rather avoid building against a dev build if I can.  I have a
> basic hack done by overloading the onImageLoadError.
>   
That should be fine then.

> Is this a known issue that affects TileCache also? I was hoping it was
> something I did wrong :(
>   

I'm not 100% sure, but I think IE always showed the broken image tiles 
(you could not hide them). Someone please correct me if I'm wrong. At 
least in the new version you'll have full control over how (not) to 
display broken images.

Regards, Roald




More information about the Dev mailing list