[OpenLayers-Dev] Tile error image
Bart van den Eijnden
bartvde at osgis.nl
Wed Jul 20 11:03:28 EDT 2011
Try:
.olImageLoadError {
display: none;
}
Best regards,
Bart
--
Bart van den Eijnden
OSGIS - http://osgis.nl
On Jul 20, 2011, at 5:00 PM, Tobias Reinicke wrote:
> Hello,
> I hope this is the right place to post this, feel free to ignore me /
> shoo me away to the depths of the internet to find the solutions. But:
> Is there anyway to remove the "broken file" image when a tile is not
> found using a wmts layer?
> I have tried the normal approaches by setting:
>
> OpenLayers.Util.onImageLoadErrorColor = "transparent";
>
> and also in CSS
>
> .olImageLoadError
> {
> background-color: transparent !important;
> }
>
> And this works well to remove the pinkness. However, I still get the
> broken image icon
> (http://help.juno.com/images/techsupport/broken_link.gif - where the x
> appears in IE and the other one in other browsers.)
>
> Is there a way to get rid of those?
> I'm thinking it's a system thing, but I don't know how it could be overriden.
>
> Kind Regards,
>
> Toby
> _______________________________________________
> Dev mailing list
> Dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20110720/045ed64c/attachment.html
More information about the Dev
mailing list