Hi all,

I am using the library "<script  src="
http://www.openlayers.org/dev/lib/OpenLayers.js";></script>"

but I have seen this post and I thought that is really a good idea to put a
loading panel but when I had the line:

map.addControl( new OpenLayers.Control.LoadingPanel({minSize: new
OpenLayers.Size(600, 600)}) );

the map don't appear!!!!!!

Is it because of the openlayers version I am using?

Thanks

Carlos


On Wed, Apr 9, 2008 at 9:32 AM, Bart van den Eijnden (OSGIS) <
[EMAIL PROTECTED]> wrote:

> Hi Linda,
>
> you could have a look at the LoadingPanel Control. Something similar could
> be done to change the map cursor.
>
> See:
> http://trac.openlayers.org/ticket/102
>
> and:
>
> http://trac.openlayers.org/browser/sandbox/bartvde/loadingpanel/lib/OpenLayers/Control/LoadingPanel.js
>
> In maximizeControl you could set the busy mouse cursor on the map div, and
> in minimizeControl change the cursor back.
>
> example:
>
> http://dev.openlayers.org/sandbox/bartvde/loadingpanel/examples/loadingpanel.html
>
> Best regards,
> Bart
>
> --
> Bart van den Eijnden
> OSGIS, Open Source GIS
> http://www.osgis.nl
>
>
> --------- Oorspronkelijk bericht --------
> Van: Linda Rawson <[EMAIL PROTECTED]>
> Naar: OpenLayers Users <users@openlayers.org>
> Onderwerp: [OpenLayers-Users] Busy Cursor
> Datum: 09/04/08 01:05
>
> > I have two layers that when I switch between them the performance is
> > so bad that there is a noticeable delay.  How would I implement an
> > hourglass cursor to indicate to the user that the application is
> > working and then put the cursor back to normal when the layer is
> > loaded.
> >
> > --
> > Linda Rawson
> > _______________________________________________
> > Users mailing list
> > Users@openlayers.org
> > http://openlayers.org/mailman/listinfo/users
> >
> >
>
>
>
> _______________________________________________
> Users mailing list
> Users@openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to