[OpenLayers-Users] request and parse GML
Pedro Baracho
pedropbaracho at gmail.com
Wed Nov 18 07:23:53 EST 2009
On Wed, Nov 18, 2009 at 7:32 AM, Barbara Fiederer
<barbara.fiederer at web.de>wrote:
> var DBsellayer = new OpenLayers.Layer.Vector("WFS", {
> strategies: [new OpenLayers.Strategy.Fixed()],
> protocol: new OpenLayers.Protocol.WFS({
> url: "http://myDomain.com:8090/geoserver/wfs",
> featureType: "flurst",
> data: filter_body,
> featureNS: "http://myDomain.com/demo"
>
> })
> });
>
I am not sure what is the key you need, but I am pretty sure is not data.
Instead of "data: filter_body", try using "filter: filter_body" or
"defaultFilter: filter_body".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20091118/55467d59/attachment.html
More information about the Users
mailing list