[OpenLayers-Users] Busy Cursor
Bart van den Eijnden (OSGIS)
bartvde at osgis.nl
Wed Apr 9 07:48:54 EDT 2008
Yes, it's not in the standard library, I am hoping it can be an addin soon.
See also the Wiki:
http://trac.openlayers.org/wiki/Addins/LoadingPanel
You can add the following in a <script> tag after the OpenLayers.js <script>
tag:
http://dev.openlayers.org/sandbox/bartvde/loadingpanel/lib/OpenLayers/Control/LoadingPanel.js
Or build your own OpenLayers.js. See also the Wiki page for details. You
also need to use a bit of css to get the background-image. It's described in
the Wiki page.
Best regards,
Bart
--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl
--------- Oorspronkelijk bericht --------
Van: Carlos Pinto <cmspinto at gmail.com>
Naar: Bart van den Eijnden OSGIS <bartvde at osgis.nl>
Cc: Linda Rawson <linda.rawson at gmail.com>, OpenLayers Users
<users at openlayers.org>
Onderwerp: Re: [OpenLayers-Users] Busy Cursor
Datum: 09/04/08 09:41
> 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?ThanksCarlos
> On Wed, Apr 9, 2008 at 9:32 AM, Bart van den Eijnden (OSGIS)
<bartvde at osgis.nl> 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 <linda.rawson at gmail.com>
> Naar: OpenLayers Users <users at 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 at openlayers.org
> > http://openlayers.org/mailman/listinfo/users
> >
> >
>
>
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>
More information about the Users
mailing list