itiusa

Duplicate the Info Button Functionality

Discussion created by itiusa on Jul 19, 2013
I'm looking to duplicate the Info toolbar button (from ArcMap) functionality in a .NET application that is using AxMapControl.  I would like a user to be able to left-click on the map and that causes a dialog to pop up displaying information for the layers about the point that was clicked on.

I have already tried using the point to create a IGeometry and using the IGeometry with a ISpatialFilter that gets passed into the IFeatureClass.Search() method on each of the layers that are part of the map.  Even after clicking directly on an address point that I know to be part of a selectable layer, nothing is returned from my search call.

Any help or pointers will be appreciated.

Outcomes