Select to view content in your preferred language

Custom Cluster

2080
1
10-26-2011 08:19 AM
TomWang
Emerging Contributor
I need to identify like say "My Favorite City". For example, there are three Class Breaks based on "POP1990". There is another field in City Feature Class" called "City Type". If City Type is "FavoriteCity", I'd like to add a new symbol but still keep "MySmallMarkerSymbol", "MyMediumMarkerSymbol" and "MyLargeMarkerSymbol". I have tried to add a graphic layer but I can't find an event to listen when this cluster rendering finished.
0 Kudos
1 Reply
JenniferNery
Esri Regular Contributor
In the SDK sample, http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#CustomClusterer, OnCreateGraphic is when the Symbol and Attributes for the clustered graphic is created. You can add any attribute here if they are shared by the same cluster.
0 Kudos