[OpenLayers-Users] Busy Status on Map

2010-08-24 Thread Kalyan Kamepalli
Hello everyone, Currently, the OpenLayers is not showing any busy status while loading map data. This is a bit inconvenient for the user. I would like to notify user of the progress.So, Is there a way to add a busy cursor or a progress bar kind of thing on the map div ?? Thanks, Kalyan

Re: [OpenLayers-Users] Busy Status on Map

2010-08-24 Thread Pavel Iacovlev
http://trac.openlayers.org/wiki/Addins/LoadingPanel On Tue, Aug 24, 2010 at 2:36 PM, Kalyan Kamepalli kalyan.kamepa...@gmail.com wrote: Hello everyone, Currently, the OpenLayers is not showing any busy status while loading map data. This is a bit inconvenient for the user. I would like to

Re: [OpenLayers-Users] Busy Status on Map

2010-08-24 Thread Bart van den Eijnden (OSGIS)
Please read this Wiki page again. You need to add css as well, like it says on the page. Bart Hi Pavel, I downloaded LoadingPanel.js and added script tag to my html file. Added new OpenLayers.Control.LoadingPanel() to my map object. But, I didn't see any Image on my map. It just the same

Re: [OpenLayers-Users] Busy Status on Map

2010-08-24 Thread Bart van den Eijnden (OSGIS)
Did you put the image in your theme dir? Bart Bart, I did add the CSS from that wiki page. I just copied it from there and added LoaadingPanel control to map. But, I can't get it work. On Tue, Aug 24, 2010 at 10:26 PM, Bart van den Eijnden (OSGIS) bart...@osgis.nl wrote: Please read

Re: [OpenLayers-Users] Busy Status on Map

2010-08-24 Thread Kalyan Kamepalli
.olControlLoadingPanel { background-image: url( ./img/loading.png); position: relative; width: 195px; height: 11px; background-position: center; background-repeat: no-repeat; display: none; } This is how my CSS looks. I placed my loading.png in img folder. Does it make

Re: [OpenLayers-Users] Busy Status on Map

2010-08-24 Thread Bart van den Eijnden (OSGIS)
Do you add the control before adding your layers? Does it work when you zoomin? What do you see with Firebug? Bart .olControlLoadingPanel { background-image: url( ./img/loading.png); position: relative; width: 195px; height: 11px; background-position: center;

Re: [OpenLayers-Users] Busy Status on Map

2010-08-24 Thread Kalyan Kamepalli
Hi Bart, I added control after adding my layers. Does it make any difference ?? I have few debugging statements ( alerts ) in initialize , minimizeControl, maximizeControl functions of LoadingPanel Control and I could see all those alerts when the map gets loaded. If the alerts are working fine