I have a JSON which comprises of lat long coordinates, hash id values, file name etc etc. I created a feature layer from this json via feature collection { LayerDef: {}, FeatureSet:}; I display this feature layer as a set of points on the map var pointdata = new esri.layers.FeatureLayer(featureCollection, { mode: esri.layers.FeatureLayer.MODE_ONDEMAND}); What I want to do is, when I click one of these points I want to be able to grab the hash_id from the attributes and dump it into a js var for further processing, Sounds simple but I have been racking my brain on this for some time. Any input at all would be really appreciated! If you need any further info to help me solve this problem just let me know.
... View more