Skip to main content
A newer version of this page is available. .

MapItemType Enum

Lists the types of a map item.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v18.1.dll

Declaration

public enum MapItemType : byte

Members

Name Description
Unknown

Represents an unknown map item type.

Dot

Represents a map dot.

Ellipse

Represents a map ellipse.

Line

Represents a map line.

Path

Represents a map path.

Polygon

Represents a map polygon.

Polyline

Represents a map polyline.

Rectangle

Represents a map rectangle.

Pushpin

Represents a map pushpin.

Custom

Represents a map custom element.

Callout

Represents a map callout.

Bubble

Represents a Bubble chart.

Pie

Represents a Pie chart.

Related API Members

The following properties accept/return MapItemType values:

Remarks

Use this enumeration’s members to specify the type of the map item. This enumeration’s values are used as an argument of the IMapItemFactory.CreateMapItem method.

When you map the MapItemMappingInfo.Type property to the data field, use the field of the int type. The MapItemType members are enumerated as follows:

  • Unknown = 0,
  • Dot = 1,
  • Ellipse = 2,
  • Line = 3,
  • Path = 4,
  • Polygon = 5,
  • Polyline = 6,
  • Rectangle = 7,
  • Pushpin = 8,
  • Custom = 9,
  • Callout = 10

The following code snippets (auto-collected from DevExpress Examples) contain references to the MapItemType enum.

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.

See Also