Binding a MapIcon in XAML
问题 I'm trying to use a MapControl, showing a MapIcon for the currently viewed location. In my XAML, I've got: <Maps:MapControl x:Name="MapControl" ZoomLevel="14" Center="{Binding Geopoint, Mode=OneWay}" Margin="-12,0,-12,0" Tapped="directions_Click" Height="200" MapServiceToken="{StaticResource BingMapsKey}" PanInteractionMode="Disabled" RotateInteractionMode="Disabled"> <Maps:MapIcon Location="{Binding Geopoint}" Title="{Binding AttractionName}" /> </Maps:MapControl> The items that I'm binding