Hi! Thanks! Unfortunately it doesn't works. I pasted this raw, but it there is no changes in display!
Zsolt -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of gbrun Sent: Thursday, September 08, 2011 11:19 AM To: [email protected] Subject: Re: [OpenLayers-Users] Simple WFS problem Hi! I had a similar problem few weeks ago: http://osgeo-org.1803224.n2.nabble.com/Problem-to-display-a-WFS-layer-wi th-OpenLayers-Layer-Vector-td6578209.html I solved this issue by adding an readFormat property to the WFS protocol definition, like this: protocol: new OpenLayers.Protocol.WFS( { srsName: "EPSG:2154" ,url: "****/geoserver/wfs" ,featureNS : "*****/wfs" ,featureType: "unit_pay" ,readFormat: new OpenLayers.Format.GML() } ); I hope it will help! Geoffrey On Thu, 08 Sep 2011 10:57:10 +0200, Magyar Zsolt <[email protected]> wrote: > Hi! Please help me! This simple WFS map why does not appear? > http://erdoterkep.mgszh.gov.hu/egy_wfs.html Everything seems ok. But 2 > simple polygons are not on the map! > > FireBug shows the correct XML with coordinates of the polygons. But why > not they displayed? > > > Thanks! > -- Using Opera's revolutionary email client: http://www.opera.com/mail/ _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
