aslaken

Using UniqueValueRenderer together with PointDataSource

Discussion created by aslaken on Jul 23, 2012
Hi,

I'm using pointdatasource to add a graphicslayer to my map where each graphic binds to an object in my model. For the next step I want to add different symbols to the graphics based on properties in the model. Normally I would use UniqueValueRenderer to add different symbols to graphics, but the Attribute property in this class only works with attributes, which are not set when using pointdatasource (i.e. the only properties that are set on the graphic are the x an y coordinates).

Does anyone know how I can add different symbols to graphics based on properties in the model when using pointdatasource?

Outcomes