MapControl.CalcHitInfo(MapPoint) Method
In This Article
Returns information on the map elements located at the specified screen point.
Namespace: DevExpress.XtraMap
Assembly: DevExpress.XtraMap.v24.2.dll
NuGet Package: DevExpress.Win.Map
#Declaration
public MapHitInfo CalcHitInfo(
MapPoint hitPoint
)
#Parameters
Name | Type | Description |
---|---|---|
hit |
Map |
The hit point coordinates, relative to the map’s top-left edge floating point screen coordinates. |
#Returns
Type | Description |
---|---|
Map |
The object containing information on the map elements located at the hit point. |
#Remarks
Use the CalcHitInfo method to determine which element is located at the specified hit point.
Note
The returned Map
See Also