Select to view content in your preferred language

Color code countries according to Sales data

584
1
03-19-2012 02:54 AM
DiptiDutta
New Contributor
Hi,

In my Silverlight application, i have to display a map. This map should display countries in different colors according to sales data. If sales data is good, then country should be green, if it is satisfactory, then orange, else red.
We have countries in African and Middle-eastern regions (western asia).

Previously I used Telerik map with shp/dbf files. On the readcompleted event, i colored each country. The coloring worked fine, but map was slow.

Now our requirement is to use ARCgis maps. Is this possible to have such custome dynamic coloring?

I have downloaded Arcgic for SL, but unable to find an easy way to do this.

Thanks
~Dipti
0 Kudos
1 Reply
AngelGonzalez
Frequent Contributor
You can do this two ways.

In SL (see the following links below). These examples show you how to color code a feature depending on a particular value.

http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#RenderersXAML

http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Thematic_Interactive

Also you can color code a feature directly on your mxd by using symbology on your layer(see attached pic). All SL needs to do is just reference the map service.

Hope this helps.
0 Kudos