Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

user borrowed from friend

since i use vector layer with wfs protocol, there is a little while before features loaded on the map. So i need to tell user to wait a moment until they load.

what best way to do that ? i found this http://osgeo-org.1560.n6.nabble.com/Patch-quot-waiting-quot-mouse-cursor-on-WFS-loading-td3961983.html

but not sure if it will work. any body tried it ?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

There is the LoadingPanel addin: http://trac.osgeo.org/openlayers/wiki/Addins/LoadingPanel

This could easily be altered to show a "waiting cursor" by altering the "minimizeControl" and "maximizeControl", removing the

this.div.style.display = "none";
this.div.style.display = "block";

lines and adding:

share|improve this answer
Thank you so much! –  Shadin May 24 '12 at 19:30
this is for raster tiles, will it work for vectors? –  neogeomat Apr 9 '13 at 8:40
yes, it works for vectors also –  neogeomat Apr 11 '13 at 17:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.