[OpenLayers-Users] getFeatureCount function?

bartvde at osgis.nl bartvde at osgis.nl
Tue Mar 23 08:21:59 EDT 2010


What type of layer? Layer.Vector?

Try layer.features.length.

Best regards,
Bart

> Hi all,
> exists any function to obtain the number of features of a Layer?
> F.ex:  map.layers[i].getFeatureCount
>
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>





More information about the Users mailing list