<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>layers have a loadend event, check out the loadingpanel addin:</div><div><br></div><div><a href="http://trac.openlayers.org/wiki/Addins/LoadingPanel">http://trac.openlayers.org/wiki/Addins/LoadingPanel</a></div><div><br></div><div>Best regards,</div><div>Bart</div><div><br><div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>-- </div><div>Looking for flexible support on OpenLayers or GeoExt? Please check out <a href="http://www.osgis.nl/support.html">http://www.osgis.nl/support.html</a></div><div><br></div><div>Bart van den Eijnden</div><div>OSGIS</div><div><a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a></div></div></div></span></div>
</div>
<br><div><div>On Aug 6, 2010, at 11:47 PM, Tue Topholm wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi Group<div><br></div><div>Is it possible to register an event, so when the map object is finished to fetch the map for the first time, it would call a function.</div><div><br></div><div>Because I'm using some wms that are slow to return, and therefore I need loading bar until the map is generated the first time. <br clear="all">
<br>--<br><br>Med venlig hilsen / Kind regards<br><br>Tue Topholm<br>Sugee<br>Tlf: +45 32 13 32 32<br>W: <a href="http://www.sugee.dk/">http://www.sugee.dk</a><br>
</div>
_______________________________________________<br>Users mailing list<br><a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>http://openlayers.org/mailman/listinfo/users<br></blockquote></div><br></div></body></html>