[OpenLayers-Dev] Event when a tile fails to load
Bart van den Eijnden
bartvde at osgis.nl
Wed Apr 20 08:36:52 EDT 2011
Hi Karsten,
please open up a Trac ticket and attach your patch there.
Also see:
http://trac.osgeo.org/openlayers/wiki/HowToContribute
for more information. TIA.
Patches on mailing lists have a tendency to get lost.
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
bartvde at osgis.nl
On Apr 20, 2011, at 2:32 PM, Karsten Pihl wrote:
> Hi,
>
> 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
> “loadfail”.
>
> The patch includes an update to the event.html example.
>
> /Karsten
> <layerload_event.patch>_______________________________________________
> Dev mailing list
> Dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-dev
More information about the Dev
mailing list