How to display nearby places like ATM's, hospitals in Android Google Map?

∥☆過路亽.° 提交于 2019-12-18 10:17:56

问题


How to display nearby places & place details like ATM's, Hospitals, Restaurants, etc. in Android Google Map

This is the link that I used:

Showing nearby places & place details using Google Places & Maps API

I'm able to fetch my current location but nearby places are not getting displayed. Neither am I getting any error in my logcat


回答1:


you can get places near by your location using Google Place API and for use of Place Api see this blog

hope this will help you.




回答2:


Get places nearby your location using Google Place API. Know about Location Data also filter data with Place Type where you found the place to search, Places service, place autocomplete requests and deprecated types. Resource 1 Resource 2




回答3:


I tried using the Google Current Place API but the results were limited to a few results and i could not change the radius around the current location. To get many results and to adjust the area radius around the current users location use the Places Search API.



来源:https://stackoverflow.com/questions/19855298/how-to-display-nearby-places-like-atms-hospitals-in-android-google-map

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!