prashantpal

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 (http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm) which works fine for closed polylines or polygon bases feature classes.

Then I tried using the Class : Point http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi_start.htm , 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.

Thanks

Attachments

Outcomes