Hi Jason,As you noticed there are several approach to solve your issue:The easiest one I would say is to directly set a different PictureMarkerSymbol to each graphic.You could create a custom symbol. Look at the sample http://resources.arcgis.com/en/help/flex-api/samples/index.html#/Custom_Symbol/01nq00000090000000/And the last one is using a renderer.The renderer is great to reuse the symbols and also to be able to break on several attributes of the Graphic.http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/renderers/package-detail.htmlMaybe the one you are looking for is the UniqueValueRenderer:http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/renderers/UniqueValueRenderer.htmlCreating a custom Renderer is also possible by implementing IRenderer.The function to implement is getSymbol(graphic:Graphic):SymbolInside your implementation you can do whatever you want to return a Symbol based on a Graphic.When the layer will draw, it will go through each Graphic and call that function to get the symbol to draw with.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.