Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

MapHitInfo.MapPolygon Property

Gets a MapPolygon which is located under the test point.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v24.2.dll

NuGet Package: DevExpress.Win.Map

#Declaration

public MapPolygon MapPolygon { get; }

#Property Value

Type Description
MapPolygon

A MapPolygon object that is the polygon located under the test point.

#Remarks

Use the MapPolygon property to access the polygon located under the test point (if the MapHitInfo.InMapPolygon property returns true).

If MapHitInfo.InMapPolygon is false, the MapPolygon property returns null (Nothing in Visual Basic).

See Also