Fix a missing argument in the onFeatureInsert call.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@4878 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2007-10-08 19:18:41 +00:00
parent d2ecceb5f0
commit 8312bb3f6d

View File

@@ -32,7 +32,7 @@
// preFeatureInsert can be used to set style before the feature is drawn
wfs.preFeatureInsert= function(feature) { feature.style.strokeWidth="3"; feature.style.strokeColor="blue";
}
wfs.onFeatureInsert = function() {
wfs.onFeatureInsert = function(feature) {
OpenLayers.Util.getElement('stream_features').innerHTML = feature.layer.features.length;
}
map.addLayer(wfs);