[OpenLayers-Trac] [OpenLayers] #3265: Event when a tile fails to
load
OpenLayers
trac-20090302 at openlayers.org
Wed Apr 20 08:47:06 EDT 2011
#3265: Event when a tile fails to load
-------------------------+--------------------------------------------------
Reporter: karstenpihl | Owner:
Type: feature | Status: new
Priority: minor | Milestone: 2.11 Release
Component: general | Version: 2.10
Keywords: | State:
-------------------------+--------------------------------------------------
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.
--
Ticket URL: <http://trac.openlayers.org/ticket/3265>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list