Anything in geoserver log? What is the epsg of your openlayer map? Make sure that your wfs is also exposed in your epsg map
adityakumar529 <adityakumar...@gmail.com>@lists.osgeo.org Envoyé par : openlayers-users-boun...@lists.osgeo.org 2015-06-10 15:49 A openlayers-users@lists.osgeo.org cc Objet [OpenLayers-Users] wfs layer not visible Hi Users, I am trying to add wfs layer to my map but I am able to see the layer on the map. I am not getting any error just a message "Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/." Following are the codes I used to add the wfs layer var geojson_layer = new OpenLayers.Layer.Vector("Adress points WFS", { strategies: [new OpenLayers.Strategy.BBOX()], protocol: new OpenLayers.Protocol.WFS({ url: 'http://localhost:8082/geoserver/sample/wfs', featurePrefix:"sample", featureType: "sample:points_wgs84", featureNS: "http://localhost:8080/sample", srsName: "EPSG:4326", geometryName: "geom", version: "1.1.0" }) }); Please help me to display the layer. Thanks Aditya Kumar ----- GIS Developer -- View this message in context: http://osgeo-org.1560.x6.nabble.com/wfs-layer-not-visible-tp5210252.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users
_______________________________________________ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users