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

MapPushpin Class

The class used to draw a pushpin on a map.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v24.2.dll

NuGet Package: DevExpress.Win.Map

#Declaration

public class MapPushpin :
    MapPointer

The following members return MapPushpin objects:

#Remarks

The Map Pushpin is a pointer that marks a geographical point on the map. Use the MapPointer.Location property to specify the pushpin position on a map.

The following image shows the map pushpin example.

MapPushpinExample

If a custom image is not specified, the pushpin uses the default one.

#Example

View Example

ItemStorage.Items.Add(new MapPushpin() { Location = new GeoPoint(70, -100), Text = "1" });

#Inheritance

See Also