I need to add a single point, I am new to JS and ArcGIS API. I was looking for some code examples on how to create a point and/or a few other points (as needed) I can't use any additional pages/external sources, as in the code needs to be in my single page. I found examples like the button add a point, but I don't need a button I just need to place a point or points with their respective coordinates. Then style as necc. Can someone provide either code or a link so I can do this simple task? Thanks

1 Answer 1


the first stop to all things help related is ArcGIS.com.
But also the developer site is where you will find what you need.
You will have to create a template for your feature layer and handle the security but otherwise this sample should be what you want.
Edit without widget

and here is the code page


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.