[Users] which event can I use to show a message whilst the wmsgetinfo tools loads it´s data

3 views
Skip to first unread message

Robert Buckley

unread,
Mar 15, 2012, 9:52:55 AM3/15/12
to us...@geoext.org
Hi,

there is sometimes quite a long wait (2-5secs) before the WmsGetFeatureinfo tools loads it´s result....Which event could I use to show a loadmask whilst this is loading?...is the a beforeRender listener for the popup window?


cheers,

Rob

Robert Buckley

unread,
Mar 16, 2012, 5:06:20 AM3/16/12
to us...@geoext.org

----- Weitergeleitete Message -----
Von: Robert Buckley <robertd...@yahoo.com>
An: Robert Buckley <robertd...@yahoo.com>
Gesendet: 10:06 Freitag, 16.März 2012
Betreff: Re: [Users] which event can I use to show a message whilst the wmsgetinfo tools loads it´s data:SOLVED

here´s how I did it...

eventListeners: {
beforegetfeatureinfo: function () {
                                busyMask.show();
                        }


...and the simply

popup.show(); 
busyMask.hide();  


Hope somone else can use it!

yours,
Rob

Von: Robert Buckley <robertd...@yahoo.com>
An: "us...@geoext.org" <us...@geoext.org>
Gesendet: 14:52 Donnerstag, 15.März 2012
Betreff: [Users] which event can I use to show a message whilst the wmsgetinfo tools loads it´s data
_______________________________________________
Users mailing list
Us...@geoext.org
http://www.geoext.org/cgi-bin/mailman/listinfo/users




Andreas Hocevar

unread,
Mar 18, 2012, 7:09:20 AM3/18/12
to Robert Buckley, us...@geoext.org
If the wait cursor is not enough, you can register listeners for the
WMSGetFeatureInfo control's beforegetfeatureinfo and getfeatureinfo
events.

Andreas.

> _______________________________________________
> Users mailing list
> Us...@geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>

--
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.

Reply all
Reply to author
Forward
0 new messages