MapPushpin Class
The class used to draw a pushpin on a map.
Namespace: DevExpress.XtraMap
Assembly: DevExpress.XtraMap.v18.1.dll
Declaration
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.
If a custom image is not specified, the pushpin uses the default one.
Example
Note
A complete sample project is available at https://github.com/DevExpress-Examples/how-to-create-different-map-shapes-t139819
ItemStorage.Items.Add(new MapPushpin() { Location = new GeoPoint(70, -100), Text = "1" });
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the MapPushpin class.
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.