Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1

up vote 1 down vote accepted

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

share|improve this answer
    
Great, thanks for the info. This helps. –  Bob C May 29 '14 at 19:28

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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