Hi all, <br><br>I am using the library "<script src="<a href="http://www.openlayers.org/dev/lib/OpenLayers.js">http://www.openlayers.org/dev/lib/OpenLayers.js</a>"></script>"<br><br>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:<br>
<br>map.addControl( new OpenLayers.Control.LoadingPanel({minSize: new OpenLayers.Size(600, 600)}) );<br><br>the map don't appear!!!!!!<br><br>Is it because of the openlayers version I am using?<br><br>Thanks<br><br>Carlos<br>
<br><br><div class="gmail_quote">On Wed, Apr 9, 2008 at 9:32 AM, Bart van den Eijnden (OSGIS) <<a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Linda,<br>
<br>
you could have a look at the LoadingPanel Control. Something similar could<br>
be done to change the map cursor.<br>
<br>
See:<br>
<a href="http://trac.openlayers.org/ticket/102" target="_blank">http://trac.openlayers.org/ticket/102</a><br>
<br>
and:<br>
<a href="http://trac.openlayers.org/browser/sandbox/bartvde/loadingpanel/lib/OpenLayers/Control/LoadingPanel.js" target="_blank">http://trac.openlayers.org/browser/sandbox/bartvde/loadingpanel/lib/OpenLayers/Control/LoadingPanel.js</a><br>
<br>
In maximizeControl you could set the busy mouse cursor on the map div, and<br>
in minimizeControl change the cursor back.<br>
<br>
example:<br>
<a href="http://dev.openlayers.org/sandbox/bartvde/loadingpanel/examples/loadingpanel.html" target="_blank">http://dev.openlayers.org/sandbox/bartvde/loadingpanel/examples/loadingpanel.html</a><br>
<br>
Best regards,<br>
Bart<br>
<br>
--<br>
Bart van den Eijnden<br>
OSGIS, Open Source GIS<br>
<a href="http://www.osgis.nl" target="_blank">http://www.osgis.nl</a><br>
<br>
<br>
--------- Oorspronkelijk bericht --------<br>
Van: Linda Rawson <<a href="mailto:linda.rawson@gmail.com">linda.rawson@gmail.com</a>><br>
Naar: OpenLayers Users <<a href="mailto:users@openlayers.org">users@openlayers.org</a>><br>
Onderwerp: [OpenLayers-Users] Busy Cursor<br>
Datum: 09/04/08 01:05<br>
<div class="Ih2E3d"><br>
> I have two layers that when I switch between them the performance is<br>
> so bad that there is a noticeable delay. How would I implement an<br>
> hourglass cursor to indicate to the user that the application is<br>
> working and then put the cursor back to normal when the layer is<br>
> loaded.<br>
><br>
</div>> --<br>
> Linda Rawson<br>
<div><div></div><div class="Wj3C7c">> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
> <a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
><br>
><br>
<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br>