[OpenLayers-Users] LoadingPanel - Waiting for Vector & WFS loading

Diego M. oo_O2_oo at hotmail.com
Thu Oct 18 11:27:42 PDT 2012


I have vector layer with WFS protocol. and because I have a huge amount of
data, there is a while before features loaded on the map.

So i need to tell user to wait a moment until they load by display a
"waiting" animation.

I found this
http://gis.stackexchange.com/questions/26072/waiting-for-vector-wfs-loading

and tried it with no luck so far.

here is what I did:

- I placed the LoadingPanel.js

- I added this stylesheet:




- and finally added the LoadingPanel control :

map.addControl(new OpenLayers.Control.LoadingPanel());



--
View this message in context: http://osgeo-org.1560.n6.nabble.com/LoadingPanel-Waiting-for-Vector-WFS-loading-tp5009686.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list