简体   繁体   English

Windows Phone:用于获取餐厅的Google Maps API

[英]Windows Phone: Google Maps api for fetching restaurants

I went througha few Google Api docs for Windows Phone eg https://developers.google.com/api-client-library/dotnet/apis/ but did not get the clear idea on how to implement the same. 我浏览了一些适用于Windows Phone的Google Api文档,例如https://developers.google.com/api-client-library/dotnet/apis/但对于如何实现相同的方法并不清楚。 I want to find all the restaurants ina specified area. 我想找到指定区域内的所有餐馆。 Any ideas on how it is supposed to be done on Windows Phone. 关于应该如何在Windows Phone上完成操作的任何想法。 And if not using Google Maps, does Here Maps help here ? 如果不使用Google Maps, Here MapsHere Maps帮助吗?

您可以在搜索附近使用地点:网址请求: https ://maps.googleapis.com/maps/api/place/nearbysearch/json ?location = [ lat, lon]&radius = 5000&types = restaurants&sensor = false&key = [KEY] -获取密钥: https : //code.google.com/apis/console/?noredirect&pli=1# project: 131033727158

I suggest you to go with Here Maps API since I have implemented in one of my application. 我建议您使用Here Maps API,因为我已经在我的一个应用程序中实现了。 Its very easy to use Here Maps in your case. 在您的情况下,它非常容易使用Here Maps。

First go through Windows Phone API - HereMaps which will help you to proceed with basic knowledge on Here Maps API. 首先,通过Windows Phone API-HereMaps ,它将帮助您继续了解Here Maps API。

As you said, first integrate your API's inside your application. 如您所说,首先将API集成到应用程序中。 With just a single term " nearby restaurants " passing it to a search term in Here Maps, It will get you all the nearby restaurants in your Here Maps along with the Route Navigation using Here Drive. 仅需将一个词“ 附近的餐馆 ”传递到“这里地图”中的搜索词中,它将使您获得“这里地图”中所有附近的餐馆以及使用“这里驱动器”的路线导航。

Its very simple to use and easy to proceed. 它非常易于使用且易于进行。 Hope it helps you. 希望对您有帮助。

You could go with the Bing Maps REST Services to search specifically what you want to. 您可以使用Bing Maps REST服务来专门搜索想要的内容。

Have a look at this for more details : http://alastaira.wordpress.com/2011/01/09/the-bing-maps-soap-search-service/ 请查看以下详细信息: http : //alastaira.wordpress.com/2011/01/09/the-bing-maps-soap-search-service/

Hope it helps! 希望能帮助到你!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM