如何使用Bing API使用Bing Map搜索特定商店

时间:2013-07-27 11:57:38

标签: c# windows-phone-8 bing-maps bing-api

我是Windows Phone App开发的新手。我正在为Windows Phone 8开发应用程序。 我想在我的应用程序中添加地图功能。

但我搜索了堆栈溢出,我可以看到我必须使用REST服务。所以,任何人都可以帮助我如何使用REST服务并使用Bing Map获取基于位置的数据。

1 个答案:

答案 0 :(得分:2)

您需要使用Bing Maps API detailed here

最终,虽然您希望在MSDN上查看how to find a location by query。这些api易于使用,但根据经验,我会使用谷歌地图API。

这是一个示例电话

http://dev.virtualearth.net/REST/v1/Locations/locationQuery?includeNeighborhood=includeNeighborhood&maxResults=maxResults&include=queryParse&key=BingMapsKey

您需要将变量替换为您的数据。 For example the bingkey needs to be given to you by microsoft here