[OpenLayers-Dev] Event when a tile fails to load
kpo at gmcb.dk
Wed Apr 20 08:48:24 EDT 2011
2011/4/20 Bart van den Eijnden <bartvde at osgis.nl>:
> Hi Karsten,
> please open up a Trac ticket and attach your patch there.
> Also see:
> for more information. TIA.
> Patches on mailing lists have a tendency to get lost.
> Best regards,
> Looking for flexible support on OpenLayers or GeoExt? Please check out http://www.osgis.nl/support.html
> Bart van den Eijnden
> bartvde at osgis.nl
> On Apr 20, 2011, at 2:32 PM, Karsten Pihl wrote:
>> When a tile fails to load the OpenLayers.Util.onImageLoadError takes
>> care of handling the error and the “loadend” event is called without
>> any indication on if one or more tiles are missing.
>> Attached patch add support for layer events when a tile has failed
>> loading. When a single tile is missing it trigger the event
>> “loadwarning” to indicate that something is wrong with this layer.
>> When all the tiles in a layer are missing it trigger the event
>> The patch includes an update to the event.html example.
>> Dev mailing list
>> Dev at lists.osgeo.org
> Dev mailing list
> Dev at lists.osgeo.org
More information about the Dev