AnsweredAssumed Answered

ArcGIS Javascript api SimpleMarkerSymbol click event

Question asked by beakal on Jul 20, 2014
Latest reply on Jul 21, 2014 by NHaney-esristaff

The application that am currently working on makes a request to an API which returns Lat,Long pair along with some record id. After successful response from the API, the application pins the LatLong on a base map using SimpleMarkerSymbol and is expected to attach the record id with the marker.

At the time of clicking the markers, the app should retrieves the id from the selected marker to make further requests. Currently I'm able to pin the markers succesfuly where as the following key question still to be answered

  1. Is there any way to capture SimpleMarkerSymbol click event?
  2. Is there any way to attach data attribures to the marker that will be used while the click event is dispatched?

Thanks, Beakal