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

MapBubble.MarkerType Property

Gets or sets a value specifying the appearance of a bubble marker.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v18.1.dll

Declaration

[DefaultValue(MarkerType.Default)]
public MarkerType MarkerType { get; set; }

Property Value

Type Default Description
MarkerType

Default

A MarkerType enumeration value.

Available values:

Show 13 items
Name Description
Default

The default marker type.

Square

A marker is drawn as a square.

MarkerType_Square

Diamond

A marker is drawn as a diamond.

MarkerType_Diamond

Triangle

A marker is drawn as a triangle.

MarkerType_Triangle

InvertedTriangle

A marker is drawn as an inverted triangle.

MarkerType_InvertedTriangle

Circle

A marker is drawn as a circle.

MarkerType_Circle

Plus

A marker is drawn as a plus sign.

MarkerType_Plus

Cross

A marker is drawn as a cross.

MarkerType_Cross

Star5

A marker is drawn as a five pointed star.

MarkerType_Star5

Star6

A marker is drawn as a six pointed star.

MarkerType_Star6

Star8

A marker is drawn as an eight pointed star.

MarkerType_Star8

Pentagon

A marker is drawn as a pentagon.

MarkerType_Pentagon

Hexagon

A marker is drawn as a hexagon.

MarkerType_Hexagon

Example

// Create a storage to provide data for the vector layer.
private IMapDataAdapter CreateData() {
    MapItemStorage storage = new MapItemStorage();

    // Add Bubble charts with different values, sizes and 
    // locations to the storage's Items collection.
    storage.Items.Add( new MapBubble() {
        Argument = "A",
        Value = 200,
        Location = new GeoPoint(-45, -60),
        Size = 20,
        Group = 1,
        MarkerType = MarkerType.Diamond
    });
    storage.Items.Add( new MapBubble() {
        Argument = "B",
        Value = 400,
        Location = new GeoPoint(-45, 0),
        Size = 40,
        Group = 2,
        MarkerType = MarkerType.Plus
    });
    storage.Items.Add( new MapBubble() {
        Argument = "C",
        Value = 800,
        Location = new GeoPoint(-45, 60),
        Size = 80,
        Group = 1,
        MarkerType = MarkerType.Cross
    });

    return storage;
}

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the MarkerType property.

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