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

Cheers,

Eric

2009/1/28, Mauro Bianchi <[email protected]>:
> 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 <[email protected]>:
>> 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
> [email protected]
> _______________________________________________
> Users mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to