[英]How to create an nearby places android app using Google Place API?
I want to create an android app like nearby places (Shops,travelling places, Restaurants, etc).我想创建一个类似附近地方(商店、旅游胜地、餐馆等)的 android 应用程序。 How to get the basics of Place API for android?
如何获得适用于 android 的 Place API 的基础知识? Can someone give me any recommendations or ideas?
有人可以给我任何建议或想法吗?
When user opened my app, It's should be show to the user whats near to his place whatever he go.当用户打开我的应用程序时,无论他走到哪里,都应该向用户显示他所在位置附近的内容。
Any Recommendations?有什么建议吗?
First read and implement Maps SDK for Android首先阅读并实现Maps SDK for Android
and then basically you need coordinates of the places that you want to show user and the location of user.然后基本上你需要你想要向用户显示的地点的坐标和用户的位置。 Good luck!
祝你好运!
Google places Nearby Search lets you search for places within a specified area. Google 地点附近搜索可让您搜索指定区域内的地点。 You can refine your search request by supplying keywords or specifying the type of place you are searching for.
您可以通过提供关键字或指定要搜索的地点类型来优化搜索请求。
More details : https://developers.google.com/places/web-service/intro更多详情: https : //developers.google.com/places/web-service/intro
You can use below API:您可以使用以下 API:
https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=-33.8670522,151.1957362&radius=1500&type=restaurant&keyword=cruise&key=YOUR_API_KEY
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.