Back to Devexpress

MapPointer.Location Property

windowsforms-devexpress-dot-xtramap-dot-mappointer-5585bb73.md

latest2.4 KB
Original Source

MapPointer.Location Property

Gets or sets the location of a MapPointer object.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
public CoordPoint Location { get; set; }
vb
Public Property Location As CoordPoint

Property Value

TypeDescription
CoordPoint

A CoordPoint class descendant object.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Location property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-map-execute-the-search-operation-for-multiple-locations/CS/GetSearchLocationAdditionalInfo/Form1.cs#L67

csharp
MapPushpin pin = new MapPushpin();
pin.Location = geoPoint;

winforms-map-execute-the-search-operation-for-multiple-locations/VB/GetSearchLocationAdditionalInfo/Form1.vb#L63

vb
Dim pin As MapPushpin = New MapPushpin()
pin.Location = geoPoint
Dim layer As VectorItemsLayer = CType(map.Layers(2), VectorItemsLayer)

See Also

MapPointer Class

MapPointer Members

DevExpress.XtraMap Namespace