I need to be able to set custom colors to map objects in code and also recieve click events from clicked countries. Is this possible with the XamWebMap?
Dane
Hi
you can handle the map element click event to get the country element which clicked.
<igMap:XamWebMap x:Name="myMap" ElementClick="map1_ElementClick"">
<igMap:XamWebMap>
and in event handler e.Element.Name gives the name of the element clicked
How would I go about setting the colors at load time? I can't seem to access elements during the Loaded event handler? The click is working well, thanks for that part.
try to look at this post
http://forums.infragistics.com/forums/p/38255/220682.aspx#220682
think it ll help....
Hi,
Just wanted to confirm that your question is resolved.
-Graham