Fork me on GitHub

OL3-AnimatedCluster

[DEPRECATED] OL3-AnimatedCluster is now part of the ol-ext project and is now available on NPM.

ol.layer.AnimatedCluster is a layer that animates clusters on zoom change. The layer is created with an ol.source.Cluster as standard cluster vector layers.
ol.interaction.SelectCluster is a select interaction. On select cluster springs apart to reveal the features. The revealed features are themselves selectable. Revealed features are themselves a cluster with an attribute 'features' that contain the original feature.

Cluster options:


Number of features:

Select options:


Style: