[OpenLayers-Users] Pink tiles in FireFox doesn't disappear after refresh - a possible solution

Pietro Ianniello pietro.ianniello at gmail.com
Mon Mar 15 07:59:55 EDT 2010


I said "and by using a temporary var doesn't have to check if it was added
or not."
This is wrong. It's absolutley necessary to test if it was added before:

var dummy = "&uuu";
*if (this.src.match(dummy + "$") != dummy)* {
            this.src = this.src + "&uuu";
        }

If you don't do so you will get a loop of requests to the server. To test
try a layer with an invalid address.

Pietro Ianniello
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100315/285cb894/attachment.html


More information about the Users mailing list