[OpenLayers-Users] Loading GML and features.length

Casagrande Luca thedoktor78 at gmail.com
Tue Sep 23 13:44:37 EDT 2008


Hello everybody!

I wanna show a small popup with the number of features inside a GML layer
loaded on the fly.Everything it's fine except that the number of features is
always 0 also if I can see them on the map. 
Can this be due the time needed to load the layer in the browser? Because if
I type alert(gmlLayer.features.length) in firebug it shows the right value.

Thanks for your help.

Luca



-- 
View this message in context: http://www.nabble.com/Loading-GML-and-features.length-tp19632246p19632246.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list