How to display wfs layer using arcgis api javascript?

1838
2
11-15-2016 01:31 AM
mansimittal1
New Contributor II

I am new to ArcGIS API Javascript and I have this task given to edit the feature layer atrribute through WFS layer.Problem is I don't know how to display map using WFS layer.Please help!

0 Kudos
2 Replies
BrentHoskisson
Occasional Contributor III

What have you tried so far?  What does your code look like?  What issues have you run into?

Have you looked at this page?  FeatureLayer | API Reference | ArcGIS API for JavaScript 4.1 

We need more info about your problem if you would like help.

0 Kudos
mansimittal1
New Contributor II

No,I was using the example give here WFS Layer | ArcGIS API for JavaScript 3.18 .  This example does not works because the wfs service url used in it is unavailable.I have created my own service and set the proxy too.The problem I get is XMLHttpRequest(CORS Related).

0 Kudos