wp7 binding pushpin List to Maplayer

I want to bind my pushpins (which is a list ) to the My Map`s Maplayer.

There is no such thing "ItemSource" in MapLayers attributes. How can I bind my Pushpin List Data to MapLayer?

<my:Map HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Name="map1" CredentialsProvider="KEY" >
         <my:MapLayer x:Name="pushPinMapLayer" ??Binding what???}">


Please see the link below as it is from a question I asked a while back (which part of it should solve your question)

Binding Pushpins

I think the part that will help you the most is the Xaml (in the Map>ItemsControl element)

    <my:Map Height="520" HorizontalAlignment="Left" Margin="6,6,0,0" Name="map1" VerticalAlignment="Top" Width="468" ZoomBarVisibility="Collapsed" ZoomLevel="1" CredentialsProvider="{Binding bingMapsCredentials}" >
        <my:MapLayer x:Name="myPushpinLayer"> 
             <my:MapItemsControl Name="Pushpinsss" ItemTemplate="{StaticResource LogoTemplate}" ItemsSource="{Binding PushpinCollection}" >

You need to add the MapItemsControl section under your MapLayer

Need Your Help

Prevent race-conditions in slug generation with friendly-id and rails

ruby-on-rails ruby friendly-id

In a much used application I am running into problems with the unique database constraint on the slug column.