Skip to main content
All docs
V24.1

MapControl.InteractiveClusterMode Property

Gets or sets the mode that enables cluster interactivity.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v24.1.dll

NuGet Package: DevExpress.Win.Map

Declaration

[DefaultValue(null)]
public InteractiveClusterModeBase InteractiveClusterMode { get; set; }

Property Value

Type Default Description
InteractiveClusterModeBase null

Specifies an interactive mode for clusters.

Remarks

Users can hover over a cluster to expand it and see all nested map items. To enable this functionality, follow the steps below:

The following example selects an optimal view (circular or spiral) for nested cluster items depending on their count in the cluster:

Expand a cluster

View Example

MouseHoverInteractiveClusterMode interactiveMode = new MouseHoverInteractiveClusterMode();
interactiveMode.ExpandedClusterLayout = new ExpandedClusterAdaptiveLayout();
map.InteractiveClusterMode = interactiveMode;

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