[OpenLayers-Users] Layer.Vector with Protocol.WFS will not show
scalable vector
scalablev at yahoo.com
Thu May 27 09:47:39 EDT 2010
Many thanks for that! Works for me too.
--- On Wed, 5/26/10, users-request at openlayers.org <users-request at openlayers.org> wrote:
>
> Message: 4
> Date: Wed, 26 May 2010 14:47:53 +0200
> From: Fran?ois Boussuges <f.boussuges at gmail.com>
> Subject: Re: [OpenLayers-Users] Layer.Vector with
> Protocol.WFS will
> not show
> Cc: users at openlayers.org
> Message-ID: <4BFD1879.3060605 at gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1;
> format=flowed
>
> Hello, try this, I have the same problem with my layers and
> this method
> work fine:
>
> var protocol1=new OpenLayers.Protocol.HTTP(
> {url : "http://localhost:8090/geoserver/wfs?",
>
> params: {format:"WFS",
>
> service: "WFS",
>
> version: "1.0.0",
>
> request: "GetFeature",
>
> typename: "MEDICAGO_VIEW",
>
> SRS: "EPSG:4326"},
>
> format : new OpenLayers.Format.GML()
>
More information about the Users
mailing list