windowsforms-devexpress-dot-xtramap-dot-mappointer-5585bb73.md
Gets or sets the location of a MapPointer object.
Namespace : DevExpress.XtraMap
Assembly : DevExpress.XtraMap.v25.2.dll
NuGet Package : DevExpress.Win.Map
public CoordPoint Location { get; set; }
Public Property Location As CoordPoint
| Type | Description |
|---|---|
| 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.
MapPushpin pin = new MapPushpin();
pin.Location = geoPoint;
Dim pin As MapPushpin = New MapPushpin()
pin.Location = geoPoint
Dim layer As VectorItemsLayer = CType(map.Layers(2), VectorItemsLayer)
See Also