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

MapBubble.Size Property

Specifies the size of a Bubble item.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v18.1.dll

Declaration

[DefaultValue(20)]
public int Size { get; set; }

Property Value

Type Default Description
Int32

20

An integer value.

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 snippets (auto-collected from DevExpress Examples) contain references to the Size 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