Click/Hover for Point feature Class

Discussion created by prashantpal on Oct 18, 2012
Hi Everyone,

I am trying to determine a solution for "how to perform click/hover operation on a point based feature class" and couldnt find any alternative. I have tried to replicate the sample given in ArcGIS for Javascript API ( which works fine for closed polylines or polygon bases feature classes.

Then I tried using the Class : Point , but in this case you have to give a array of LAT/LON for all the points. Most example are using something like.

query.geometry = pointToExtent(map,evt.mapPoint,10);

Please suggest me any ideas, would really appreciate your help.
I have also attached my code with this post.