[OpenLayers-Users] Looking for a progress bar or
loading... (image) that works in both IE and Firefox - while
loading the map
manel.clos at ajgirona.cat
manel.clos at ajgirona.cat
Tue Oct 6 08:27:08 EDT 2009
Hi Jim,
I'm using LoadingPanel in IE and it works ok. I haven't tested with IE6 though.
The only problem is that the DIV that covers all the map will cause some issues:
- clicks / mousewheel events will be lost when it is showing. See previous references here:
http://openlayers.org/pipermail/users/2009-September/013764.html
If you try to workaround the mouse issue as described in the previous thread, the problem is that while LoadingPanel is showing if you try clicking the close button of a popup, the click will end in the map, not in the close button.
So I ended adopting the solution of moving the div containing the image to the top right corner, which works perfect. See post here:
http://openlayers.org/pipermail/users/2008-December/009509.html
You could also try making the div fit the image size and position it using javascript instead of CSS.
I also thought deriving from OpenLayers.Layer, but it does not look like a good solution. So perhaps this should be implemented as a special case in OL. In the meantime it will be good to change LoadingPanel and explain current issues.
--
Manel Clos
________________________________
De: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org] En nombre de jim.meyer at concept-solutions.com
Enviado el: lunes, 05 de octubre de 2009 21:31
Para: 'Michael Shishcu'
CC: users at openlayers.org
Asunto: Re: [OpenLayers-Users] Looking for a progress bar or loading... (image) that works in both IE and Firefox - while loading the map
Hi Michael,
The code does work in IE. Yet, the image doesn't seem to be present on the screen as long as it is in Firefox. I am guessing there might be some differences in how the browsers are treating the events that are involved. (FYI... I am relegated to using IE6 and I am using the latest version of Firefox).
Thanks,
Jim
Jim Meyer
Java Programmer
ConceptSolutions, LLC
We Make Business Intelligent
703.889.8434 [desk]
703.391.9041[fax]
www.Concept-Solutions.com
________________________________
From: Michael Shishcu [mailto:micklesh at gmail.com]
Sent: Monday, October 05, 2009 2:24 PM
To: jim.meyer at concept-solutions.com
Cc: users at openlayers.org
Subject: Re: [OpenLayers-Users] Looking for a progress bar or loading... (image) that works in both IE and Firefox - while loading the map
Hi, Jim
I have tested the LoadingPanel.js i IE 6, 7, 8, and it works great.
Are there some errors in your script?
Check the order in which you are adding LoadingPanel.js (this needs to be added AFTER Opnlayers.js, at least in IE6,7)
regards, michael
2009/10/5 <jim.meyer at concept-solutions.com<mailto:jim.meyer at concept-solutions.com>>
Hello,
I am searching for a progress bar or loading image that will work effectively in IE and Firefox. I'd like the solution to display over the map DIV while the layers are being loaded and rendered. I have tried the LoadingPanel.js (http://trac.openlayers.org/wiki/Addins/LoadingPanel) solution and it works well in Firefox but it doesn't seem to do the trick in IE. Any help would be appreciated.
Thanks,
Jim
Jim Meyer
Java Programmer
ConceptSolutions, LLC
We Make Business Intelligent
703.889.8434 [desk]
703.391.9041[fax]
www.Concept-Solutions.com
_______________________________________________
Users mailing list
Users at openlayers.org<mailto:Users at openlayers.org>
http://openlayers.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20091006/c43e250b/attachment.html
More information about the Users
mailing list