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
135
MapElements selection
posted

Hello,

I would like to recolor map elements by click. Is there a way to make this in XAML using trigger for example ? Or I only have to handle MapElementClick event? And can I get a selected map element/collection of selected map elements?

Thanks.

Parents
  • 12875
    posted

    Hi,

    The best solution I've found, assuming you want to add color to an element when you click on it, is on this thread.  David points out that when you click on a state for instance in a US map, the state's border is hightlighted by default.  He has suggested using the ElementClick and ElementPropertyChanged events to change the color of the fill of that particular element.

    http://ko.infragistics.com/community/forums/p/20418/73714.aspx#73714

    Let me know if that satisfies your requirements.

Reply Children
No Data