wpf-devexpress-dot-xpf-dot-map-f1ea20eb.md
Contains information about what is located at a specific point within the map.
Namespace : DevExpress.Xpf.Map
Assembly : DevExpress.Xpf.Map.v25.2.dll
NuGet Package : DevExpress.Wpf.Map
public class MapHitInfo :
IMapHitInfo
Public Class MapHitInfo
Implements IMapHitInfo
The following members return MapHitInfo objects:
This example shows how to use the MapControl.CalcHitInfo method to determine which map shape is located at the specified point.
MapShape shape = mapControl.CalcHitInfo(e.GetPosition(mapControl)).MapPath as MapShape;
Dim shape As MapShape = TryCast(mapControl.CalcHitInfo(e.GetPosition(mapControl)).MapPath, MapShape)
Object MapHitInfo
See Also