I have a set of 5000 points each has an attribute that is set to a value from 0 to 5. I am trying to cluster this data to reduce the amount of points drawn but wish to create clusters containing only the features that have the same attribute value. Having searched around I discovered this extended clustering example from Openlayers 2.
http://dev.openlayers.org/examples/strategy-cluster-extended.html
However I see no information on how to implement this in Openlayers 3 and above? Is there something simple I am missing in order to achieve this?
Many thanks for the help on this and any advice would be much appreciated!