问题描述
如此处所述:
https://developers.google.com/places/web-service/autocomplete#location_biasing
我尝试了以下代码:
const fetchLocaion = (text) => {
return Axios.get("https://maps.googleapis.com/maps/api/place/autocomplete/json",{
params: {
input: text || undefined,key: [MY_KEY],components: "country:in",types: "geocode",location: "28.7041,77.1025",radius: 200000
}
})
}
最后3个参数无效。这是怎么了?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)