Hello,
I tried what you said to add my defined wfs layer to the control but it
didn't work (no protocol found)
Further more I searched in the examples of openlayers and found this code:
control = new OpenLayers.Control.GetFeature({
protocol: OpenLayers.Protocol.WFS.fromWMSLayer(layer),
box: true,
hover: true,
multipleKey: "shiftKey",
toggleKey: "ctrlKey"
});
The problem is the part 'fromWMSLayer'. My layer is a wfs and so I would
need something like that:
OpenLayers.Protocol.WFS.fromWFSLayer(layer).
Is something like that excisting? Unfortunately I found nothing in the
documentation.
Best Regards
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/GetFeature-of-WFS-Layer-with-EPSG-4326-with-osm-base-layer-EPSG-900913-doesn-t-work-tp5689706p5701109.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