A newer version of this page is available. Switch to the current version.

MapPushpin Class

The class used to draw a pushpin on a map.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v19.1.dll

Declaration

public class MapPushpin :
    MapPointer
Public Class MapPushpin
    Inherits MapPointer

Related API Members

The following members accept/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.

Examples

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

Inheritance

See Also