MapEllipse Class
The class used to draw an ellipse on a map.
Namespace: DevExpress.XtraMap
Assembly: DevExpress.XtraMap.v18.1.dll
Declaration
public class MapEllipse :
MapShape,
IEllipseCore,
ISupportRectangle,
ISupportCoordLocation,
IPolygonCore,
IPointContainerCore
Related API Members
The following members accept/return MapEllipse objects:
Remarks
The following image shows an example of a map ellipse object.
Note
The MapEllipse.Width and MapEllipse.Height properties are measured in kilometers by default.
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 MapEllipse() { Location = new GeoPoint(40, 40), Height = 300, Width = 600 });
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the MapEllipse 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.