Using css, see OpenLayers style.css:

.olImageLoadError {
    background-color: pink;
    opacity: 0.5;
    filter: alpha(opacity=50); /* IE */
}

Best regards,
Bart

-- 
Looking for flexible support on OpenLayers or GeoExt? Please check out 
http://www.osgis.nl/support.html

Bart van den Eijnden
OSGIS
[email protected]

On Oct 11, 2010, at 11:16 AM, Derek Watling wrote:

> 
> In 2.8 I was able to specify that tiles which don't load display trasparent
> instead of the default pink tile, but using the following code:
> 
> OpenLayers.Util.onImageLoadErrorColor = "transparent";
> 
> However in 2.10 they have gone back to pink, even though I don't get any
> error message with this code.
> 
> How do I specify that tiles which don't load should be transparent?
> -- 
> View this message in context: 
> http://osgeo-org.1803224.n2.nabble.com/Making-pink-tiles-transparent-in-2-10-tp5622426p5622426.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
> 

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

Reply via email to