Back to Devexpress

MapDataAdapterBase.Clusterer Property

windowsforms-devexpress-dot-xtramap-dot-mapdataadapterbase.md

latest2.7 KB
Original Source

MapDataAdapterBase.Clusterer Property

Gets or sets the clusterer used to clusterize map items.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
[DefaultValue(null)]
public IClusterer Clusterer { get; set; }
vb
<DefaultValue(Nothing)>
Public Property Clusterer As IClusterer

Property Value

TypeDefaultDescription
IClusterernull

An object of a class implementing the IClusterer interface.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Clusterer 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.

winforms-map-aggregate-vector-items-using-a-clusterer/CS/ClustererSample/Form1.cs#L29

csharp
clusterer.SetClusterItemFactory(new CustomClusterItemFactory());
DataAdapter.Clusterer = clusterer;

winforms-map-aggregate-vector-items-using-a-clusterer/VB/ClustererSample/Form1.vb#L34

vb
clusterer.SetClusterItemFactory(New CustomClusterItemFactory())
DataAdapter.Clusterer = clusterer
DataAdapter.PropertyMappings.Add(New MapDotSizeMapping With {.DefaultValue = 14})

Implements

Clusterer

See Also

MapDataAdapterBase Class

MapDataAdapterBase Members

DevExpress.XtraMap Namespace