[OpenLayers-Users] get a function triggered when all layers are loaded

Eric Lemoine eric.c2c at gmail.com
Thu Dec 6 14:54:33 EST 2007


On Dec 6, 2007 7:24 PM, Maik Finsterbusch <mfinsterbusch at codematix.de> wrote:
> hi all out there,
>
> i regard this group and all questions as best as i can,
> ill answer all newbies like me as good as i can, if i gain more experience soon.
>
> so my question, i searched the answer for, asked many collegues and friends, but
> no one has an idea, just an "while(true){}" seems to be the answer.
>
> here my problem:
> i want to get a function triggered when all layers are loaded... (you can
> compare it, with the moment, when the browser statusbar says 'ready').
>
> anyone?

Hello. You might be interested to look at this example:

<http://www.openlayers.org/dev/examples/layerLoadMonitoring.html>

Cheers,

--
Eric



More information about the Users mailing list