Select to view content in your preferred language

Image Services and Legend Control

802
1
09-29-2011 06:28 AM
LanceCrumbliss
Frequent Contributor
Does the Toolkit's Legend Control not support ImageService Layers?
0 Kudos
1 Reply
DominiqueBroux
Esri Frequent Contributor
You are right, the ImageService doesn't support the legend since the service doesn't provide any legend info.

If, in your case, you know the legend of the ImageService, you can implement it by hooking up an handler to the legend event 'Refreshed' and by populating the legend items at this time.
0 Kudos