[OpenLayers-Dev] A small loadingPanel

Richard Duivenvoorde rdmailings at duif.net
Fri Jun 22 03:11:32 EDT 2007


Hi Alessio,

I've tried something like that also, using the loadend and loadstart 
event for a slow WM.Untiled layer coming out of my database.
One of my problems was that it always looks perfect in Firefox, is 
harder to get right in IE7, and I still have problems with IE6: 
something with the opacity/visibility of the div holding the 
'loading'-image.
Looking at your example in IE7 (on my WinXP) shows (I think) the same 
problem: while loading the (almost as big as the map div) div holding 
the image partially hides the map.

I'm very much interested though in functionality like this, and am 
looking forward to inclusion of such in future releases :-)

And if someone has a 100% working concept: please add it to the examples?

Richard Duivenvoorde


Alessio Fabiani wrote:
> Hi guys
> 
> 	if someone is interested I made a simple loadingPanel
> 
> 	http://www.geo-solutions.it/ol/examples/loadingPanel.html 
> <http://www.geo-solutions.it/ol/examples/loadingPanel.html>
> 
> 	I had to modify a bit the OpenLayers.Layer.Grid in order to trigger the 
> right events.
> http://www.geo-solutions.it/ol/lib/OpenLayers/Layer/Grid.js
> 
> 
> 
> -- 
> -------------------------------------------------------
> Eng. Alessio Fabiani
> Vice-President /CTO GeoSolutions S.A.S.
> Via Carignoni 51
> 55041  Camaiore (LU)
> Italy
> 
> phone: +39 0584983027
> fax:      +39 0584983027
> mob:    +39 349 8227000
> 
> 
> http://www.geo-solutions.it
> 
> -------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev




More information about the Dev mailing list