Binding a collection
-
Wednesday, April 11, 2012 2:59 PM
Hello,
Is there any way to binding a collection of entities to Pushpin?
I tried to Binding ItemsSource to map control but anything happens. This is my xaml code:
<bm:Map Credentials="INSERT_YOUR_BING_MAPS_KEY" x:Name="myMap" ItemsSource="{Binding Pictures}"> <bm:Map.Children > <bm:Pushpin Text="{Binding Title}"> <bm:MapLayer.Position> <bm:Location Latitude="{Binding Latitude}" Longitude="{Binding Longitude}" /> </bm:MapLayer.Position> </bm:Pushpin> </bm:Map.Children> </bm:Map>Thanks!Alberto Diaz Martin twitter://@adiazcan | http://geeks.ms/blogs/adiazmartin | MVP SharePoint Server
All Replies
-
Sunday, April 22, 2012 5:09 AMModerator
I'm guessing it is the same answer as:
"There's a bug in the public beta that doesn't allow data binding to attached properties created from C++. We will make sure this is fixed for the final release and investigate binding to a collection at the same time."
Bing Maps MVP and director of www.soulsolutions.com.au
- Marked As Answer by Richard_BrundrittMicrosoft Employee, Owner Sunday, April 22, 2012 9:22 AM

