Right. The Layer.GML constructor triggers an HTTP request and returns
before the response is received.

Cheers,

Eric

2009/1/28, Mauro Bianchi <bianchi...@gmail.com>:
> Sorry guys ;)
>
> Thanks Bart for your solution (and Ivan too).
> The lesson learned here is remebering  that layer features arec loaded
> asynchrounously ...right?
>
> Cheers
> Mauro
>
>
>
> 2009/1/28 Ivan Grcic <igr...@gmail.com>:
>> That was Bart ;) I was just trying to show you that GML loads in
>> background, and it takes some time to load it..thats why you get
>> features.length =0
>> Also check this example
>> http://openlayers.org/dev/examples/GMLParser.html
>>
>> cheers
>>
>
>
> --
> Mauro Bianchi
> bianchi...@gmail.com
> _______________________________________________
> Users mailing list
> Users@openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to