添加Bing地图引用到Windows Phone 8.1的项目 [英] Add Bing Maps Reference to Windows Phone 8.1 project
问题描述
我要要在Windows Phone 8.1的C#项目添加到Bing地图的参考。我已经安装了这个包 http://visualstudiogallery.msdn.microsoft.com / 224eb93a-ebc4-46ba-9be7-90ee777ad9e1 /
但是现在我不能选择在添加引用的DLL。如果我尝试这为Windows 8.1项目(表面)我可以选择Bing地图DLL和使用地图元素。我如何使用Bing地图下的Windows Phone 8.1吗?
我想这个教程,但它并没有为我工作。 http://msdn.microsoft.com/en-us/library/dn456475.aspx
I want to add a reference to Bing Map in windows Phone 8.1 C# project. I have installed this package http://visualstudiogallery.msdn.microsoft.com/224eb93a-ebc4-46ba-9be7-90ee777ad9e1/ But now I can't choose the dll under "Add Reference". If I try this for a Windows 8.1 project (Surface) I can choose the Bing Maps DLL and use the Map Element. How can I use the Bing Map under Windows Phone 8.1? I tried this tutorial but it didn't work for me. http://msdn.microsoft.com/en-us/library/dn456475.aspx
推荐答案
你指的是Bing地图SDK是Windows 8.1的应用程序,而不是Windows Phone的8.1。对于Windows Phone的8.1地图内置在WP8.1 SDK。您可以在Windows.UI.Xaml.Controls.Maps命名空间下找到它们。这里有一些资源在WP8.1与地图开发
The Bing Maps SDK you are referring to is for Windows 8.1 apps, not Windows Phone 8.1. The maps for Windows Phone 8.1 are built into the WP8.1 SDK. You can find them under the Windows.UI.Xaml.Controls.Maps namespace. Here are some resources for developing with maps in WP8.1
的 http://msdn.microsoft.com/en-us/library/windowsphone/develop/dn615001.aspx
< A HREF =http://www.jayway.com/2014/04/18/windows-phone-8-1-for-developers-maps/> http://www.jayway.com/2014/04/ 18 / Windows的手机-8-1-对于开发人员,地图/
如果您要创建在Windows 8.1的地图,我建议检查出我的自由就在这里的话题电子书: http://rbrundritt.wordpress.com/my-book/
If you want to create maps in Windows 8.1 I recommend checking out my free ebook on the topic here: http://rbrundritt.wordpress.com/my-book/
这篇关于添加Bing地图引用到Windows Phone 8.1的项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!