WMSLayer progess for rendering

Aug 22, 2011 at 5:03 AM

Hi all,

I was just wondering if anyone has had any luck with showing a progress bar which will be visible until the image for the WMS request gets genrated?

There doesnt seem to be an easy way to do this.

I had a look at the Heat layer which calls the onProgress method which has a backround worker but i am not sure i can do the same for WMS.

I would just like to show a progress bar that i can hide when the image for WMS is rendered.

Any advice?

Sincerely

Dan

Mar 22, 2012 at 8:29 AM

Hi,

the OnProgress method is made for the Progress event of Layer to be fired but this event is internal, so there is no way to attach to it. The map Progress is linked to the Progress event of the LayerCollection linked to the Progress event of Layers.

Fab