Adding clustering in a feature layer

Discussion created by goelajay on Jan 7, 2013
Is it possible to add clustering (classBreak or any other mechanism) in a map that is rendered using featureLayer (UniqueValue renderer)?  My goal is to have a map where I can show different colors for different entities but if there are more than one entity in a given lat long, show it as a number (with clickable pop up template).  I have samples for both working individually but can't find a way to combine those.