Skip to main content
All docs
V24.2

InteractiveClusterModeBase.ExpandedClusterLayout Property

Gets or sets the layout of expanded cluster items.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v24.2.dll

Declaration

[DefaultValue(null)]
public IExpandedClusterLayout ExpandedClusterLayout { get; set; }

Property Value

Type Default Description
IExpandedClusterLayout null

An object of a class that implements the IExpandedClusterLayout interface.

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 ExpandedClusterLayout 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