Solved I was using wrong Openlayers version. I downloaded the latest version
and nowe everything is working just fine :)
--
View this message in context:
http://n2.nabble.com/WFS-Error-OpenLayers-Layer-WFS-is-not-a-constructor-tp4343721p4347986.html
Sent from the OpenLayers Users mailing list ar
I forgot to say, that this error only occurs on my local installation. When I
am try to check the WFS layer from the on the Openlayers->example page WFS
layers is working fine. But when I copy the WFS layer definition from
example file, and I try to use it in my page I got error
"OpenLayers.Layer.
Hi
All the time I am trying to use WFS layer I have error :
"OpenLayers.Layer.WFS is not a constructor" for egzample
var roads = new OpenLayers.Layer.WFS(
"Roads",
"/geoserver/wfs",
{typename: 'topp:tasmania_roads'},