Select to view content in your preferred language

Legend Symbology

582
2
05-25-2012 04:18 AM
JuanSerratosa_López
Deactivated User
Hi everyone,

I am an absolute beginner in this programing world, so I hope this question doesn´t sound stupid

Here is the thing, I have a map with a pie charts symbology applied, published in server and declared as a feature layer in my  Silverlight application. When I try to include a legend it         doesn´t display the simbology the map has, but another completely different. If I publish it as a ArcGISDynamicMapServiceLayer I can see the symbology in my application but still       can´t see it in the legend...

Does anyone know how to solve this problem??

Thank you very much and congrats to all of you that help others in this forum....
0 Kudos
2 Replies
JenniferNery
Esri Regular Contributor
This may be because REST API does not support that type of symbology. Here's a list of supported symbols: http://sampleserver3.arcgisonline.com/ArcGIS/SDK/REST/symbol.html.

Legend control will display symbols from the layer renderer, which is also limited to REST API supported symbols. The reason why ArcGISDynamicMapServiceLayer does not have a problem showing these symbols is because what you get is actually an image. You can run Fiddler, to see that the result of export request is an image.
0 Kudos
JuanSerratosa_López
Deactivated User
Thanks!!

Sorry for the delay in the answer...
You are right, I think it´s a  not supported symbology by REST API... when I have time I´ll try rendering  the symbology and see what happens...

Thank you again!!
0 Kudos