Great work on keeping this up to date, Bart. <br><br>It's great to see that the LoadingPanel is getting some use!<br>:-)<br>Erik<br><br><div class="gmail_quote">On Tue, Nov 11, 2008 at 4:20 AM, <span dir="ltr"><<a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a>></span> 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 Ivan,<br>
<br>
I see your problem, I have just added a hide, show and toggle method to<br>
the loadingpanel control which should accommodate your use case. If it<br>
does not work for you, let me know.<br>
<br>
Please update the loadingpanel addin from svn, I've also updated the<br>
example with a simple toggle.<br>
<br>
<a href="http://trac.openlayers.org/changeset/8319" target="_blank">http://trac.openlayers.org/changeset/8319</a><br>
<br>
Best regards,<br>
<font color="#888888">Bart<br>
</font><div><div></div><div class="Wj3C7c"><br>
> Tnx Bart, i didnt know that z-indexes are set according to order of<br>
> adding them to the map. It works fine like that!<br>
><br>
> But thers other problem now.. I have option to enable/disable<br>
> laodingPanel control, and control.activate() & control.deactivate()<br>
> deosnt seem to function... so then I completely remove/add control,<br>
> something like:<br>
> if(checked){<br>
> map.addControl(new OpenLayers.Control.LoadingPanel());<br>
> }<br>
> else {<br>
> map.removeControl(map.getControlsByClass('OpenLayers.Control.LoadingPanel')[0]);<br>
> }<br>
><br>
> and then laodingPanel control comes up again with same problem. Is<br>
> there a way to get lowest z-index and then set laodingPanel below it?<br>
><br>
> Tnx,<br>
> Ivan<br>
><br>
> On Tue, Nov 11, 2008 at 9:08 AM, <<a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a>> wrote:<br>
>> Hi Ivan,<br>
>><br>
>> and what if you add the LoadingPanel as the first control to the map? It<br>
>> will have the lowest zIndex than of the controls inside of the viewport.<br>
>> The PanZoomBar will be clickable then.<br>
>><br>
>> map = new OpenLayers.Map( 'map', { controls: [] });<br>
>> map.addControl( new OpenLayers.Control.LoadingPanel());<br>
>> map.addControl(new OpenLayers.Control.PanZoomBar());<br>
>><br>
>> If this does not help, can you post an example HTML to reproduce this?<br>
>><br>
>> Best regards,<br>
>> Bart<br>
>><br>
>>> Hi,<br>
>>><br>
>>> i discovered little (but annoying) bug in LoadingPanel addin. When<br>
>>> loading panel is active, it takes away click control from PanZoomBar<br>
>>> control, but it propagates further to map. So if for an example you<br>
>>> have getFeatureInfo activated onclick (on map), and you click on<br>
>>> PanZoomBar it doestn move/zoom the map but activates getFeatureinfo...<br>
>>><br>
>>> i guess its because of the order od z-index , right?<br>
>>><br>
>>> On Sun, Aug 31, 2008 at 5:40 PM, Bart van den Eijnden (OSGIS)<br>
>>> <<a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a>> wrote:<br>
>>>> This is getting embarassing :-)<br>
>>>><br>
>>>> That's what you get when you move something from a sandbox and don't<br>
>>>> check (also because it takes a while to be published to the<br>
>>>> webserver).<br>
>>>><br>
>>>> Should be fixed now, sorry.<br>
>>>><br>
>>>> Best regards,<br>
>>>> Bart<br>
>>>><br>
>>>> Ivan Grcic wrote:<br>
>>>>> Hehe, error again :)<br>
>>>>> <script src="<a href="http://openlayers.org/dev/lib/OpenLayers.js" target="_blank">http://openlayers.org/dev/lib/OpenLayers.js</a>"></script><br>
>>>>> Is<br>
>>>>> not compiled with loadingPanel plugin, so you have to include it<br>
>>>>> seperatly then:<br>
>>>>><br>
>>>>> <script src="../lib/OpenLayers/Control/LoadingPanel.js"><br>
>>>>><br>
>>>>> cheers<br>
>>>>><br>
>>>>> On Sun, Aug 31, 2008 at 10:50 AM, Bart van den Eijnden (OSGIS)<br>
>>>>> <<a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a>> wrote:<br>
>>>>><br>
>>>>>> Hi Ivan,<br>
>>>>>><br>
>>>>>> thanks for spotting this, fixed in svn.<br>
>>>>>><br>
>>>>>> Best regards,<br>
>>>>>> Bart<br>
>>>>>><br>
>>>>>> Ivan Grcic wrote:<br>
>>>>>><br>
>>>>>>> Sweet, just one litle thing<br>
>>>>>>><br>
>>>>>>> <a href="http://dev.openlayers.org/addins/loadingPanel/trunk/examples/loadingpanel.html" target="_blank">http://dev.openlayers.org/addins/loadingPanel/trunk/examples/loadingpanel.html</a><br>
>>>>>>> is not working right, thers not<br>
>>>>>>><br>
>>>>>>> <script src="../lib/OpenLayers.js"></script><br>
>>>>>>><br>
>>>>>>> Cherrs, Ivan<br>
>>>>>>><br>
>>>>>>><br>
>>>>>>> On Sat, Aug 30, 2008 at 9:18 PM, Bart van den Eijnden (OSGIS)<br>
>>>>>>> <<a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a>> wrote:<br>
>>>>>>><br>
>>>>>>><br>
>>>>>>>> Hi Erik,<br>
>>>>>>>><br>
>>>>>>>> the loadingpanel addin svn is set up and the Wiki page has been<br>
>>>>>>>> adapted.<br>
>>>>>>>><br>
>>>>>>>> Best regards,<br>
>>>>>>>> Bart<br>
>>>>>>>><br>
>>>>>>>> Erik Uzureau wrote:<br>
>>>>>>>><br>
>>>>>>>><br>
>>>>>>>>> Like the bookmark control, the LoadingPanel seems to have<br>
>>>>>>>>> universal<br>
>>>>>>>>> support,<br>
>>>>>>>>> so I have gone ahead and made the /addins/loadingPanel directory.<br>
>>>>>>>>><br>
>>>>>>>>> When you have a moment, bart.. please go ahead and set up the<br>
>>>>>>>>> directory structure<br>
>>>>>>>>> for loadingPanel... and when you're ready, let us know with an<br>
>>>>>>>>> announcement<br>
>>>>>>>>> email.<br>
>>>>>>>>><br>
>>>>>>>>> Again, Congrats! I know for a fact that *many* people out there<br>
>>>>>>>>> have<br>
>>>>>>>>> been looking<br>
>>>>>>>>> for a tool like this... this is a great addition to the<br>
>>>>>>>>> !OpenLayers<br>
>>>>>>>>> project.<br>
>>>>>>>>><br>
>>>>>>>>> Cheers,<br>
>>>>>>>>> Erik<br>
>>>>>>>>><br>
>>>>>>>>> On Wed, Aug 27, 2008 at 12:16 AM, Erik Uzureau <<a href="mailto:euzuro@gmail.com">euzuro@gmail.com</a>><br>
>>>>>>>>> wrote:<br>
>>>>>>>>><br>
>>>>>>>>><br>
>>>>>>>>><br>
>>>>>>>>>> Nobody seemed to notice my vote in the old thread so I'm<br>
>>>>>>>>>> starting<br>
>>>>>>>>>> it<br>
>>>>>>>>>> anew:<br>
>>>>>>>>>><br>
>>>>>>>>>> I am +1 for getting bartvde's loadingpanel code into the /addins<br>
>>>>>>>>>> directory.<br>
>>>>>>>>>><br>
>>>>>>>>>> If you have an opinion, please speak up.<br>
>>>>>>>>>><br>
>>>>>>>>>> e<br>
>>>>>>>>>><br>
>>>>>>>>>><br>
>>>>>>>>>><br>
>>>>>>>>>><br>
>>>>>>>>>> For more info, see:<br>
>>>>>>>>>><br>
>>>>>>>>>> <a href="http://trac.openlayers.org/wiki/Addins/LoadingPanel" target="_blank">http://trac.openlayers.org/wiki/Addins/LoadingPanel</a><br>
>>>>>>>>>><br>
>>>>>>>>>><br>
>>>>>>>>>><br>
>>>>>>>>>><br>
>>>>>>>>> _______________________________________________<br>
>>>>>>>>> Dev mailing list<br>
>>>>>>>>> <a href="mailto:Dev@openlayers.org">Dev@openlayers.org</a><br>
>>>>>>>>> <a href="http://openlayers.org/mailman/listinfo/dev" target="_blank">http://openlayers.org/mailman/listinfo/dev</a><br>
>>>>>>>>><br>
>>>>>>>>><br>
>>>>>>>>><br>
>>>>>>>>><br>
>>>>>>>>><br>
>>>>>>>> --<br>
>>>>>>>> Bart van den Eijnden<br>
>>>>>>>> OSGIS, Open Source GIS<br>
>>>>>>>> <a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a><br>
>>>>>>>> <a href="http://www.osgis.nl" target="_blank">http://www.osgis.nl</a><br>
>>>>>>>><br>
>>>>>>>> _______________________________________________<br>
>>>>>>>> Dev mailing list<br>
>>>>>>>> <a href="mailto:Dev@openlayers.org">Dev@openlayers.org</a><br>
>>>>>>>> <a href="http://openlayers.org/mailman/listinfo/dev" target="_blank">http://openlayers.org/mailman/listinfo/dev</a><br>
>>>>>>>><br>
>>>>>>>><br>
>>>>>>>><br>
>>>>>>><br>
>>>>>>><br>
>>>>>> --<br>
>>>>>> Bart van den Eijnden<br>
>>>>>> OSGIS, Open Source GIS<br>
>>>>>> <a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a><br>
>>>>>> <a href="http://www.osgis.nl" target="_blank">http://www.osgis.nl</a><br>
>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>><br>
>>>><br>
>>>> --<br>
>>>> Bart van den Eijnden<br>
>>>> OSGIS, Open Source GIS<br>
>>>> <a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a><br>
>>>> <a href="http://www.osgis.nl" target="_blank">http://www.osgis.nl</a><br>
>>>><br>
>>>> _______________________________________________<br>
>>>> Dev mailing list<br>
>>>> <a href="mailto:Dev@openlayers.org">Dev@openlayers.org</a><br>
>>>> <a href="http://openlayers.org/mailman/listinfo/dev" target="_blank">http://openlayers.org/mailman/listinfo/dev</a><br>
>>>><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> Ivan Grcic<br>
>>><br>
>><br>
>><br>
>><br>
><br>
><br>
><br>
> --<br>
> Ivan Grcic<br>
><br>
<br>
<br>
_______________________________________________<br>
Dev mailing list<br>
<a href="mailto:Dev@openlayers.org">Dev@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/dev" target="_blank">http://openlayers.org/mailman/listinfo/dev</a><br>
</div></div></blockquote></div><br>