[GIS] plot points on a map using JSON data from a Node.js API

arcgis-javascript-apijavascriptnode-js

I am new to the arcGIS JavaScript API. I have a Node API that is providing geographical information in JSON. I have google'd for examples and searched for solutions on this web site. Can anyone point me towards an example where JSON data is used to plot points on a map?

Best Answer

this is the sample you should start by taking a look at.

in general, you need to use esriRequest to fetch your data, and then parse as appropriate before passing to a FeatureLayer or creating your own graphics and adding them to the map.

Related Question