[OpenLayers-Users] Way to detect if layer is done loading?

Christopher Schmidt crschmidt at metacarta.com
Mon Oct 15 17:15:02 EDT 2007


On Mon, Oct 15, 2007 at 03:16:14PM -0500, Edward Fialkowski wrote:
> Hi List, I would really like to add a loading image to my app to show when a
> layer is still being downloaded, but I'm having difficulty getting the right
> javascript code.
> 
> One option is if it's possible to know in openlayers when a WMS image is
> finished downloading and added to the map.
> 
> Has anyone ever tried anything like this?

http://openlayers.org/dev/examples/layerLoadMonitoring.html

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list