[OpenLayers-Users] OpenLayers 2.6 tileloaded event
Emily Gouge
egouge at refractions.net
Thu Apr 17 11:54:06 EDT 2008
First, thanks to everyone who has contributed to the 2.6 release.
My question is related to the The Layer Load Monitoring Example:
http://openlayers.org/dev/examples/layerLoadMonitoring.html
In OpenLayers 2.5 this example displays the following log with each tile loaded generating a log event:
(8:38:42) WMS Buffer 0: Load Start
(8:38:43) WMS Buffer 0: Tile loaded. 8 left.
(8:38:43) WMS Buffer 0: Tile loaded. 7 left.
(8:38:43) WMS Buffer 0: Tile loaded. 6 left.
(8:38:43) WMS Buffer 0: Tile loaded. 5 left.
(8:38:43) WMS Buffer 0: Tile loaded. 4 left.
(8:38:43) WMS Buffer 0: Tile loaded. 3 left.
(8:38:44) WMS Buffer 0: Tile loaded. 2 left.
(8:38:44) WMS Buffer 0: Tile loaded. 1 left.
(8:38:44) WMS Buffer 0: Tile loaded. 0 left.
(8:38:44) WMS Buffer 0: Load End. Grid:3x3
However, OpenLayers 2.6 only generates the Load Start and Load End events, nothing for the loading
events associated with each tile:
(8:39:45) WMS Buffer 0: Load Start
(8:39:47) WMS Buffer 0: Load End. Grid:3x3
Previously we were using the tileloaded event to inform users of how many tiles were remaining to be
loaded. Has this event changed in OpenLayers 2.6? Is there some other event or method I should be
using to provide a similar status to users?
Thanks,
Emily
More information about the Users
mailing list