<div dir="ltr"><div>I am using 2.6 and I have verified that this code is in image.js.</div>
<div>&nbsp;</div>
<div>Linda<br><br></div>
<div class="gmail_quote">On Thu, Aug 14, 2008 at 1:48 PM, Bart van den Eijnden (OSGIS) <span dir="ltr">&lt;<a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Linda,<br><br>are you using 2.6?<br><br>The following should have made sure this works correctly:<br><br>
<a href="http://trac.openlayers.org/ticket/842" target="_blank">http://trac.openlayers.org/ticket/842</a><br><br>Best regards,<br>Bart<br><br>Linda_Rawson wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I am again facing issues with the loading panel not going away. &nbsp;It seems<br>when the tiles in question are an error, 404 not found or something like<br>
that, the count is not getting decremented so that the loadend event fires.<br><br>Where did you call this from?<br><br><br>realjax wrote:<br>&nbsp;<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">map.layers[0].events.triggerEvent(&quot;loadend&quot;);<br><br>&nbsp; &nbsp;<br></blockquote><br>Thanks,<br>Linda Rawson<br>
<br><br>realjax wrote:<br>&nbsp;<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>Linda_Rawson wrote:<br>&nbsp; &nbsp;<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Sometimes it does not go away after all layers are loaded. &nbsp;What can I<br>do?<br><br>&nbsp; &nbsp; &nbsp;<br></blockquote>
The loading control is a cool one. ( thanks Bart!).<br>I had some issues as well with events not being fired on some layers<br>(layer.Markers for instance).<br>So I did it manually:<br><br>map.layers[0].events.triggerEvent(&quot;loadend&quot;);<br>
<br>Works like a charm :-)<br><br><br><br>&nbsp; &nbsp;<br></blockquote><br>&nbsp;<br></blockquote><br><br>-- <br>Bart van den Eijnden<br>OSGIS, Open Source GIS<br><a href="mailto:bartvde@osgis.nl" target="_blank">bartvde@osgis.nl</a><br>
<a href="http://www.osgis.nl/" target="_blank">http://www.osgis.nl</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>Linda Rawson<br></div>