Select to view content in your preferred language

Legend color changes

603
1
08-31-2010 10:12 PM
LakshmananVenkatesan
Frequent Contributor
I use  the ESRI SOAP API to access the layer symbology to display TOC for my SL applicatiion. For one of the layer I need to change the color at client side. Because I have added one layer from Map service as a feature layer on top of dynamic service layer again purposefully and user can change the color at runtime at that feature layer. So I want to change the legend symbology color for that particular layer based on user color settings. Please help me on this.

Can I edit the user SOAP API response at client side...

Thanks
SR
0 Kudos
1 Reply
dotMorten_esri
Esri Notable Contributor
To do something like that, you would have to create a legend control that will ignore certain layers and replace them with whatever image you want. You can't modify the SOAP response (that would be very hoaky too).
0 Kudos