I have an OpenLayers map with point clustering, but I want to apply a much finer granularity to the data represented in the map. Specifically, I want to stratify the clusters according to an attribute on the feature (we'll call it 'category').
So, say I have five categories: effectively I need to cluster points only with other points from the same category. I suppose this could be accomplished with five different layers, but this quickly becomes cumbersome as the number of categories gets large (I have 50+ at the moment).
Has anyone seen anything like this with OpenLayers?