开发者

Using dataset and show on Bing map

I want to program an application based on wpf c# language.

I've got the bing map running and i want the dataset to display on the map with pushpin on top of the specific locatio开发者_如何学Gons.


I don't know if you could make it work but i could do this whit this few lines of XAML code and Binding.

<bing:MapItemsControl ItemsSource="{Binding LocationsList}">
                    <bing:MapItemsControl.ItemTemplate>
                        <DataTemplate>
                            <bing:Pushpin Location="{Binding Location}" Content="{Binding Content}">                                    
                            </bing:Pushpin>
                        </DataTemplate>
                    </bing:MapItemsControl.ItemTemplate>
                </bing:MapItemsControl>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜