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