Thanks! Now its works!
Thank you very much! -----Original Message----- From: Pierre Giraud [mailto:[email protected]] Sent: Thursday, September 08, 2011 2:39 PM To: Magyar Zsolt Cc: [email protected] Subject: Re: [OpenLayers-Users] Simple WFS problem Try with the following : map = new OpenLayers.Map({ div: "map", layers: [ new OpenLayers.Layer.WMS( "Natural Earth", "http://demo.opengeo.org/geoserver/wms", {layers: "topp:naturalearth"} ), new OpenLayers.Layer.Vector("test_polygon", { strategies: [new OpenLayers.Strategy.Fixed()], protocol: new OpenLayers.Protocol.WFS({ url: "http://erdoterkep.mgszh.gov.hu/geoserver/wfs", featureType: "test_polygon", featureNS: "http://www.openplans.org/topp" }) }) ], center: new OpenLayers.LonLat(21, 47), zoom: 6 }); Pierre On Thu, Sep 8, 2011 at 10:57 AM, 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! > > _______________________________________________ > Users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/openlayers-users > > -- Pierre GIRAUD Géomaticien, Analyste Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 93 Mail : [email protected] http://www.camptocamp.com _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
