All docs
V21.2
21.2
21.1
The page you are viewing does not exist in version 21.1. This link will take you to the root page.
20.2
The page you are viewing does not exist in version 20.2. This link will take you to the root page.
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ExpandedClusterSpiralLayout Class

A layout algorithm that positions clustered items in a spiral.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v21.2.dll

Declaration

public class ExpandedClusterSpiralLayout :
    ExpandedClusterLayoutBase

Remarks

A user can hover over a cluster to expand it. For more information on how expand clusters, refer to the following section: Allow Users to Expand Clusters.

When the cluster is expanded, nested items that form this cluster are positioned on the map according to a specified layout. To use a spiral layout, assign an ExpandedClusterSpiralLayout object to the InteractiveClusterModeBase.ExpandedClusterLayout property.

ExpandedCluster - Spiral Layout

Use the StartRadius property to specify the radius of a spiral’s inner circle.

You can override the GetLocation method to obtain the location of a specific item after the parent cluster is expanded.

Example

The following code allows users to expand clusters. The ExpandedClusterSpiralLayout applies to clustered items:

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

Inheritance

Object
ExpandedClusterLayoutBase
ExpandedClusterSpiralLayout
See Also