I have a .json objects array with data that I want to use in my webmap. What is the best option to add this data (<3000 points) to the map? Should I use a GraphicsLayer object inside which I'll be adding each point as a Graphic with point geometry to? Should I use a FeatureLayer? Are there any examples in the ArcGIS JS docs that someone could point me to?
As it is now, I can add point graphics individually to a Graphic object and then add to a GraphicsLayer using layer.graphics.add(newGraphic). But how can I do this on the fly as the map is receiving data from the json?
Thanks in advance!