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.
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://es.infragistics.com/community/forums/p/20418/73714.aspx#73714
Let me know if that satisfies your requirements.
I was wondering if you had a chance to review David's thread and if it answered your questions.
Please let me know if you have any questions.