Warren Vick wrote:
> I've just noticed that Chrome has a different behaviour to other browsers 
> when OL is using a TMS layer and there is no tile present. While IE and FF 
> show nothing, Chrome shows an ugly broken image icon. Anyone know how this 
> can be avoided?
>   

For OpenLayers 2.8, set the following after the script tag that loads
OpenLayers.js:

OpenLayers.Util.onImageLoadErrorColor = "transparent";

For OpenLayers SVN (trunk), set the following as your last CSS
definition, and after
the script tag that loads OpenLayers.js:

.olImageLoadError {
    background-color: transparent;
}

Regards,
Andreas.

-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.

_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to