Google地方信息自动填充功能从结果中删除州和国家/地区 [英] Google Places Autocomplete Remove State and Country from Result
本文介绍了Google地方信息自动填充功能从结果中删除州和国家/地区的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
https://google-developers.appspot.com/地图/文档/javascript/examples/places-autocomplete
我有一个类似于上述Google Places自动完成演示URL的页面,如果我键入白金汉宫.它将返回
I have a page similar to the above google places autocomplete demo url whereby if i type Buckingham Palace. It will return results of
- 英国伦敦白金汉宫路
- 白金汉宫商店,白金汉宫路,维多利亚,伦敦, 英国
- Buckingham Palace Road, London, United Kingdom
- Buckingham Palace Shop, Buckingham Palace Road, Victoria, London, United Kingdom
等.如何从结果中删除英国伦敦?
and etc. How do i remove London, United Kingdom from the results?
推荐答案
如果不手动处理结果,这是不可能的.如果您认为这将是一项有用的功能,请提交
This is not possible without manually processing the results. If you think that it would be a useful feature, please file a Places API - Feature Request.
这篇关于Google地方信息自动填充功能从结果中删除州和国家/地区的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文