如何搜索谷歌地图寻找医院等 [英] How to make a search on google maps for finding hospitals etc

查看:329
本文介绍了如何搜索谷歌地图寻找医院等的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在谷歌地图的基础上搜索当前位置的医院,警察局等。但根据谷歌搜索,我知道过去所有Google地方的API都被弃用了。所以我使用了 https://developers.google.com/places/android-api/signup
使用此链接来制作谷歌地方API密钥,但它不适合我,它没有得到任何数据...



我指的是这个链接我曾经只改变API密钥在这里
http://wptrafficanalyzer.in/blog/showing-nearby-places-and-place-details-using-google-places-api-and-google -maps-android-api-v2 /



它不工作没有得到任何数据&当我把我的谷歌搜索API路径显示,这是无效的API。



https://developers.google.com/places/android-api/placepicker 即时引用此链接,但我不能找到适当的解决方案。请让我知道,如果任何人有任何想法??根据你的情况,有两个键需要和3权限当您要进行Near By Places整合时 -

<1> Android密钥

<2>浏览器密钥



Google控制台上的权限 -
$ b 1 Google Maps Android API p>

2-Google Places API for Android



3-Google Places API Web Service

希望这可以帮到你。



谢谢

I want to make google map where we can search a hospitals , police station etc on the base of current location. But as per the google search i knew that past all Google places api's are deprecated. so i used https://developers.google.com/places/android-api/signup Using this link for crating google places api key,But its not working for me its not getting any data ...

I am referring this link i used to change only api key here http://wptrafficanalyzer.in/blog/showing-nearby-places-and-place-details-using-google-places-api-and-google-maps-android-api-v2/

Its not working not getting any data & when i put my google search api path its shown that is not valid api .

https://developers.google.com/places/android-api/placepicker i m referring this link also but i m not able to find proper solution. Please let me know if any one is having any idea??

解决方案

As per your scenario there is Two keys required and 3 permission when you are going for Near By Places Integration --

1-Android Key

2-Browser Key

Permission on Google Console--

1-Google Maps Android API

2-Google Places API for Android

3-Google Places API Web Service

Hope this will help you.

Thanks

这篇关于如何搜索谷歌地图寻找医院等的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆