Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1690
How to set MapColorSwatchPane ?
posted

Hi,

I added xamMap to my application and I set colors for map elements in my code behind on Loaded event depending on some character values. I would like to have a legend of my map which shows those character values. As far as understand, I have to use ValueScale with Distribution Scale. But I don't know where I should add a converter. Do you have any sample ?

Thanks,

Ed

Parents
No Data
Reply
  • 35319
    posted

    Hello Ed,

     

    Thank you for your post. I have been looking into your requirement and I am attaching a sample application(xamMapLegend.zip) where I show how to create a legend for your XamMap control.

     

    If you need any further assistance on this matter, feel free to ask.

    xamMapLegend.zip
Children