OpenLayers 3 Examples
Clustering example
Example of using
ol.Cluster
.
See the
cluster.js source
to see how this is done.
cluster vector