Selection States in MapItemsControl of Bing Map Silverlight control -


I am new to Silverlight and therefore is also new to Bing map control here what I am trying to get

I have a view model with 2 properties and looks like this ...

  public class VM: INotifyPropertyChanged {private collection _locations; Public Location Selection Locations ({return_position;} set {_locations = value; this.Notify ("location");}} private place_selected location; public place selected location {back {return location location;} set { _selected Location = value; this.Notify ( "SelectedLocation");}} protected virtual void notification (string property) {if (null! = This.PropertyChanged) {PropertyChangedEventArgs e = new PropertyChangedEventArgs (property); this.PropertyChanged (it, E);}} Private Event PropertyChangedEventHandler PropertyChanged;}   

In my XMax I have a listback and bing me The control I Suchiboks bound for places (performance have the latitude to now) and to map control is bound with a Nkshaaitm control location. Select the list box is limited to Chunat selected location map Center is limited to the selected location. so XML looks like this

  & lt; grid x: name = "Leautrut" background = "white" & gt; & LT; grid. RowDefinitions & gt; & lt; RowDefinition Height = "Auto "/ & Gt; & Lt; RowDefinition Height = "Auto" /> & Lt; /Grid.RowDefinitions> & Lt; ListBox ItemsSource = "{binding path = location}" SelectedItem = "{binding path = selected location, mode = two}" DisplayMemberPath = "latitude" grid. Line = "0" /> & Lt; Map: map grid. Align = "1" credentials provider = "AV 2 1 Akewjhelpijears-F_m 1 Tijielfji Beepifvivimmjibiaksffpi -2 -1 Arpiuarwaifmmpibisfarpi-Z Loaded =" Map_loded "center =" {Binding Path = selected location, mode = Dove} "zoom level =" 17 "& gt; & lt; Map: MapTime Control X: Name =" MapEighting Tool "ItemSource =" {Binding Path = Location} "& gt; & lt; Map: MapItemsControl.ItemTemplate & gt; & gt; DataTemplate & gt; & Lt; map: pushpin location = "{Binding}" / & gt; & Lt; / DataTemplate & gt; & Lt; / map: MapItemsControl.ItemTemplate & gt; & Lt; / map: MapItemsControl & gt; & Lt; / map: Map & gt; As I select the item in the list box, I am able to see that the center of the map varies, however, in this case, the template of the wreath of the wreath Also, I want to change an image instead of OOB pushpin. How do I customize the pushpin? I understand, but I am unable to get any select states in MapsItemControl, as I can find other items in Control List etc. Can anyone help me on this ??  

You can add another MapItemsControl which was limited to only your chosen location and to other MapItemsControl In addition to the chosen place, all the places have been compelled.

In this way you can have different templates and unsigned ones for the selected people.

Comments