Select to view content in your preferred language

ArcGIS SL API version 2.3:  Clusterer, Symbol, Renderer ?

1315
10
12-05-2011 06:37 AM
DeminHu
Deactivated User
Hi,

I just started to update my applications from version 2.2 to 2.3 this morning, I feel  a little bit strange about cluster, symbol, renderer. I am not for sure it is a bug or ESRI redesigned the API in this new way.

#1. I have graphics layers using cluster, I didn't use renderer, just in the code, set graphic.Symbol = Mymbol ( something like this).
  If I only have a few graphics, no cluster, I could not see  anything about my graphicsLayer, if I have more graphics, I could see clusters, I zoomined and expanded the cluster, then the graphicslayer not show, no symbol displayed. Just like this ESRI sample (Graphics-> Simple Cluster http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#SimpleClusterer  ). When you expand the clusters, no individual Symbol displayed.

#2. I made a little change,  the graphics layers are still using cluster, still the same symbols, just put the simple in a renderer, set the graphic layers Renderer = MyRenderer, then it worked as before. Like the ESRI sample (graphics->Custom Clusterer: http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#CustomClusterer ).

After I figured out this, it is not difficult for me to update my applications, just a little bit curious at this change.
0 Kudos
10 Replies
TonyBacon
Deactivated User
I am also experiencing this problem. I only upgraded to 2.3 to stay current. So far I don't "need" any of the 2.3 enhancements so perhaps in this case it is best to revert to 2.2 and wait for a fix. Any idea on how soon a fix will be coming out for this?
0 Kudos