Hello!
New member, been using esri silverlight API for several months now, but have run into issue.
I have a custom renderer, inheriting from IRenderer, and ILegendSupport. It works fine, except I can get symbols to display in legend. I'm using the toolkit legend.
Basically, in QueryLegendInfos, i am creating LayerLegendInfo to send to callback. LayerLegendInfo has member LegendItemInfo, which has ImageSource property for symbol. I have my symbol defined in XAML, and ImageSource is expecting bitmap, so how can I convert my symbol to bitmap to assign to ImageSource?
Everything currently works, its in legend, shows label, but no symbol because I'm not sure what to do. Taking suggestions. If someone willing to post example custom renderer with legend support for reference, that would be ideal.
Thanks.