[OpenLayers-Users] Busy Cursor

Bart van den Eijnden (OSGIS) bartvde at osgis.nl
Wed Apr 9 03:32:58 EDT 2008


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
> 
> 






More information about the Users mailing list