I am trying to write a script to identify a feature point by clicking on the map close to it with an on click event. By this way getting it's attribute to use as an input parameter for the imageserviceidentifytask or something similar task to identify a raster from the published mosaic dataset. The dataset's name is the same with the point features.
Could anybody show me a sample code how to do this? I'd be grateful :/