From 1a71ac61999a48ef7322dc132ac4f1d35774c82c Mon Sep 17 00:00:00 2001 From: euzuro Date: Tue, 18 Jul 2006 15:46:38 +0000 Subject: [PATCH] update to new way of specifying feature class. OpenLayers.Feature.WFS is actually the default, so this technically doesnt even need to be done, but just for example. git-svn-id: http://svn.openlayers.org/trunk/openlayers@967 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- examples/wfs.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/wfs.html b/examples/wfs.html index 70d3c4d1a3..fb28ed2c97 100644 --- a/examples/wfs.html +++ b/examples/wfs.html @@ -22,7 +22,7 @@ layer = new OpenLayers.Layer.WFS( "Owl Survey", "http://www.bsc-eoc.org/cgi-bin/bsc_ows.asp?", {typename: "OWLS", maxfeatures: 10}, - OpenLayers.Feature.WFS ); + { featureClass: OpenLayers.Feature.WFS}); map.addLayer(layer); map.addControl(new OpenLayers.Control.LayerSwitcher()); map.setCenter(new OpenLayers.LonLat(-100, 60), 3);