Thanks a lot.
var layer = new OpenLayers.Layer.Vector("layer", {
styleMap: layerStyle,
eventListeners: {
"featuresadded": function(obj) {
console.log("features added : " + obj.features.length);
}
}
});
works very well for me. Thanks for all advises.
x_tls_x
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/getting-all-features-on-a-vector-layer-tp5700499p5701583.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users