Clustering on single layer with different category

Discussion created by on Nov 21, 2019

Suppose,There are 4 symbols of 2 different category on map's single layer, By using existing cluster examples it combines all 4 symbols into any 1 random symbol which is not our requirement. 


We want it should combine symbols category wise means on certain zoom level, 4 symbols with 2 category should show 2 symbols on map layer 


 Can anyone help ?


We have refered this examples for clustering