windowsforms-devexpress-dot-xtramap-dot-mapdataadapterbase.md
Gets or sets the clusterer used to clusterize map items.
Namespace : DevExpress.XtraMap
Assembly : DevExpress.XtraMap.v25.2.dll
NuGet Package : DevExpress.Win.Map
[DefaultValue(null)]
public IClusterer Clusterer { get; set; }
<DefaultValue(Nothing)>
Public Property Clusterer As IClusterer
| Type | Default | Description |
|---|---|---|
| IClusterer | null |
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
clusterer.SetClusterItemFactory(new CustomClusterItemFactory());
DataAdapter.Clusterer = clusterer;
winforms-map-aggregate-vector-items-using-a-clusterer/VB/ClustererSample/Form1.vb#L34
clusterer.SetClusterItemFactory(New CustomClusterItemFactory())
DataAdapter.Clusterer = clusterer
DataAdapter.PropertyMappings.Add(New MapDotSizeMapping With {.DefaultValue = 14})
See Also