From 8312bb3f6d73e5821ea97c3000efc8bf51107580 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Mon, 8 Oct 2007 19:18:41 +0000 Subject: [PATCH] Fix a missing argument in the onFeatureInsert call. git-svn-id: http://svn.openlayers.org/trunk/openlayers@4878 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- examples/openmnnd.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/openmnnd.html b/examples/openmnnd.html index 9d225c8e13..08695673dd 100644 --- a/examples/openmnnd.html +++ b/examples/openmnnd.html @@ -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);