简体   繁体   English

如何使用 Google Place API 创建附近的地方 android 应用程序?

[英]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?有人可以给我任何建议或想法吗?

  • App Feathers -应用羽毛 -

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.

相关问题 Android:如何使用Google Places API(自动填充)搜索附近的酒店? - Android: How to search for nearby hotels using the Google Places API (Autocomplete)? 在Android上使用Google Places API获取附近地点的列表 - get list of nearby places using google places API on android Android:使用Google Places API查找附近的地点 - Android: Finding nearby places with Google Places API 如何使用Google Places API检索附近地点的照片? - How to retrieve the photo of the nearby places using google places api? 如何使用附近的地点在Places API中按城市过滤? - How can I filter by city in the Places API using nearby place? 使用Google Places API查找附近的地方 - find nearby places using Google Places api Android无法使用Google API检索附近的地方 - Android unable to retrieve nearby places using google api 如何使用Google Places API在android中通过latLng获取位置信息或位置信息? - How to get place or placeid by latLng in android using google places api? 如何在不使用Google Places API的情况下显示附近的位置? - How to display the nearby locations without using google places api? 我在使用google map附近的地方API。 我的代码仅显示附近的地点 - I am using google map nearby places API in android. My code only shows the near by places
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM